perm filename POX.XGP[UP,DOC]4 blob
sn#244205 filedate 1976-11-02 generic text, type T, neo UTF8
/FONT#0=NGR30/FONT#2=BDI25/FONT#3=NGR25/FONT#4=NGB25[ 1,REM]/FONT#5=NGR20[ 1,REM]/FONT#6=XMAS25/FONT#15=KBD25/FONT#12=75224X[ 1,REM]/FONT#1=FIX25/FONT#7=CLAR30/FONT#9=GRK30/FONT#14=GRKL50/TMAR=200/PMAR=1992/BMAR=2
␈↓ ¬ε␈β↓H␈↓P␈↓βrototype␈↓ O␈↓βverlay␈↓ X␈↓βerographics
␈↓ ¬
␈β↓k␈↓β(name suggested by R.W.Gosper)
␈↓ β;␈βα ␈↓βBy Robert Elton Maas, with revisions by Ralph E. Gorin and R.E.M.
␈↓ ∧8␈βα'␈↓α(POX writeup, last edited 1976 NOV 2 22:05)
␈↓ α_␈βαc␈↓βPOX␈αis␈αa␈αprogram␈αfor␈αmaking␈αdocuments␈αthat␈αtake␈αadvantage␈αof␈αthe␈αspecial␈αfeatures␈αavailable␈αon
␈↓ ↓H␈ββ↓␈↓βthe␈αXerox␈αGraphics␈αPrinter␈α(XGP).␈α⊗The␈αspecial␈αfeatures␈αthat␈αboth␈αPOX␈α
and␈α
PUB␈α
provide␈α
are␈α
mainly␈α
font
␈↓ ↓H␈ββ∨␈↓βswitching,␈α⊂text␈α⊂justification␈α⊂and␈α∂automatic␈α∂"every␈α∂page"␈α∂actions␈α∂such␈α∂as␈α∂page␈α∂numbering.␈α≡POX␈α∂also
␈↓ ↓H␈ββ=␈↓βprovides␈α∞vectors,␈α∞positioning␈α∞of␈α∞text␈α∞etc.␈α∞to␈α∞an␈α∞accuracy␈α∞of␈α
1/200␈α
inch,␈α
composition␈α
of␈α
text␈α
etc.␈α
into
␈↓ ↓H␈ββ[␈↓β"overlays"␈αwhich␈αcan␈αbe␈αcopied␈αand␈αprocessed␈αwithout␈αlosing␈αthe␈αrelative␈αpositions␈αof␈αthe␈αcomponents
␈↓ ↓H␈ββy␈↓β(somewhat␈αlike␈αsets␈αin␈αSUDS,␈αthe␈αHelliwell␈αdrawing␈αprogram).␈α⊗POX␈αdoes␈α
not␈α
yet␈α
provide␈α
text␈α
responses
␈↓ ↓H␈β∧↔␈↓βor␈α⊃footnotes.␈α"It␈α⊃is␈α⊃possible␈α⊃to␈α⊂set␈α⊂up␈α⊂cross-references␈α⊂or␈α⊂indexes/contents␈α⊂by␈α⊂means␈α⊂of␈α⊂macros,
␈↓ ↓H␈β∧5␈↓βproviding␈αthat␈αthere␈αare␈αno␈αforeward␈αreferences␈α(i.e.␈αeverything␈αis␈αdefined␈αbefore␈αit␈αis␈αused␈α--␈αPOX␈αis
␈↓ ↓H␈β∧S␈↓βone-pass␈α∞only).␈α≤Neither␈α∞POX␈α∞nor␈α∞PUB␈α∞can␈α∞yet␈α∞be␈α∞used␈α∞interactively␈α
like␈α
GEOMED␈α
and␈α
SUDS,␈α
and␈α
no
␈↓ ↓H␈β∧q␈↓βprogram␈α∩yet␈α∩exists␈α∩for␈α∩viewing␈α∩the␈α∩final␈α∩output␈α∩on␈α∩displays␈α∩to␈α∩check␈α∩for␈α∩visual␈α∩errors␈α∩prior␈α⊃to
␈↓ ↓H␈β¬∂␈↓∂XSPOOL␈↓βing.
␈↓ α_␈β¬-␈↓βPOX␈αhas␈αa␈αfew␈αintractable␈αbugs␈α--␈αthere␈αis␈αa␈αlist␈αof␈αthese␈αbugs␈αin␈αa␈αlater␈αsection␈αof␈αthis␈αwriteup
␈↓ ↓H␈β¬K␈↓β--␈α
references␈α
to␈α
these␈α
bugs␈α
are␈α
made␈α
from␈α
various␈α
places␈α
in␈α
this␈α
writeup,␈α
in␈α
the␈α
format␈α"␈↓αsee␈αbug#n␈↓β"
␈↓ ↓H␈β¬i␈↓βwhere␈αn␈αis␈αthe␈αnumber␈αof␈αthe␈αbug␈αin␈αthat␈αlist␈α--␈αusers␈α
should␈α
report␈α
any␈α
bugs␈α
they␈α
find␈α
that␈α
are␈α
not␈α
in
␈↓ ↓H␈βεπ␈↓βthat␈αlist␈α--␈αerrors␈αin␈αthis␈αwriteup␈αshould␈αalso␈αbe␈αreported␈α
before␈α
too␈α
many␈α
unwary␈α
users␈α
see␈α
them␈α
and
␈↓ ↓H␈βε%␈↓βexpect␈α
POX␈α
to␈α
do␈α
things␈α
it␈α
can't␈α
do.
␈↓ α_␈βεa␈↓βPOX␈αtakes␈αa␈αfile␈αas␈αinput␈αand␈αproduces␈αan␈αoutput␈αfile␈αthat␈αis␈αsuitable␈αfor␈αspooling␈αwith␈αthe␈αXGP
␈↓ ↓H␈βε␈␈↓βspooler␈α
(␈↓∂XSPOOL␈↓β␈α
command).␈α_The␈αinput␈αfile␈αcontains␈αinstructions␈αto␈αPOX␈αand␈αthe␈αtext␈αof␈αthe␈αdocument.
␈↓ ↓H␈βπ≥␈↓βPOX␈α∂takes␈α∂character␈α∂sequences␈α∞as␈α∞commands.␈α≤Each␈α∞command␈α∞sequence␈α∞is␈α∞preceded␈α∞by␈α∞a␈α∞character,
␈↓ ↓H␈βπ;␈↓βcalled␈α⊂the␈↓α␈α⊂Escape␈α⊂Character␈↓β.␈α The␈α⊂first␈α⊂character␈α⊂in␈α⊂the␈α⊂file␈α⊂(ignoring␈α⊂TV␈α⊂directories␈α⊂and␈α⊂SOS␈α∂line
␈↓ ↓H␈βπY␈↓βnumbers)␈α
is␈α
taken␈α
by␈α
POX␈α
as␈α
the␈α
escape␈α
character␈α
(See␈α
note␈α
1).␈α~Thus,␈α
the␈α
user␈α
gets␈α
to␈α
specify␈αthe
␈↓ ↓H␈βπw␈↓βescape␈α
character.␈α~The␈α
escape␈αcharacter␈αcan␈αbe␈αarbitrary,␈αbut␈αreason␈αdictates␈αthat␈αit␈αshould␈αbe␈αsome
␈↓ ↓H␈βλ∃␈↓βcharacter␈α∂that␈α∂appears␈α∂infrequently␈α∂(or␈α∂not␈α∂at␈α∂all)␈α∂in␈α∂the␈α∂text␈α∂of␈α∂the␈α∂document.␈α≡The␈α∂most␈α∂popular
␈↓ ↓H␈βλ1␈↓βchoices␈α∂for␈α∂the␈α∂escape␈α∂character␈α∂are␈α∂\␈α∂_␈α∂and␈α∂$.␈α≡In␈α∂the␈α∞remainder␈α∞of␈α∞this␈α∞document,␈α∞the␈α∞symbol␈↓␈α∞1
␈↓ ↓H␈βλQ␈↓β(pronounced␈α"brick"␈α--␈αyou␈αwon't␈αfind␈αit␈αon␈αyour␈αkeyboard␈α--␈αit's␈αASCII␈α
061␈α
in␈α
font␈α
75224X.FNT[1,REM]
␈↓ ↓H␈βλo␈↓βif␈α∩you␈α∩really␈α∩want␈α∩to␈α∩know␈α∩how␈α∩I␈α∩generated␈α∩it␈α∩in␈α⊃this␈α⊃writeup)␈α⊃represents␈α⊃your␈α⊃current␈α⊃Escape
␈↓ ↓H␈β
␈↓βCharacter,␈α∂whatever␈α∂it␈α∂may␈α∂be␈α∂at␈α∂the␈α∞moment;␈α∞however,␈α∞in␈α∞some␈α∞examples␈α∞below␈α∞the␈α∞actual␈α∞escape
␈↓ ↓H␈β +␈↓βcharacter␈α
will␈α
be␈α
shown␈α
rather␈α
than␈α
the␈α
brick␈α
symbol.
␈↓ α_␈β I␈↓βI␈αhaven't␈αreally␈αdecided␈αwhat␈αto␈αcall␈αthese␈αcommands,␈αso␈αuntil␈αmake␈αa␈αdecision␈αyou␈αmay␈αfind␈αthat
␈↓ ↓H␈β g␈↓βat␈αsome␈αplaces␈αin␈αthis␈αwriteup␈αthey␈αare␈αcalled␈α"escape␈αcommands"␈αat␈αother␈αplaces␈α"brick␈αcommands"␈αor
␈↓ ↓H␈β
¬␈↓β"POX␈α∞commands".␈α~The␈α
commands␈α
the␈α
XGP␈α
understands,␈α
beginning␈α
with␈α
an␈α
ASCII␈α
177␈α
which␈α
is␈α
rubout,
␈↓ ↓H␈β
#␈↓βhave␈α∞entirely␈α∞different␈α∞syntax␈α∞even␈α∞for␈α∞commands␈α∞that␈α∞perform␈α∞almost␈α∞the␈α∞same␈α∞function␈α∞as␈α
a␈α
brick
␈↓ ↓H␈β
A␈↓βcommand.␈α⊗These␈αare␈αreferred␈α
to␈α
as␈α
"XGP␈α
escape␈α
sequences"␈α
or␈α
"rubout-style␈α
commands"␈α
to␈α
distinguish
␈↓ ↓H␈β
←␈↓βthem␈α∞from␈α∞brick␈α∞commmands.␈α≤These␈α∞XGP␈α∞escape␈α
sequences␈α
are␈α
normally␈α
present␈α
only␈α
in␈α
the␈α
output
␈↓ ↓H␈β
⎇␈↓βfrom␈α⊂POX␈α⊂and␈α⊂PUB,␈α⊂except␈α⊂when␈α⊂POX␈α⊂is␈α⊂used␈α⊂as␈α⊂post-processor␈α∂for␈α∂some␈α∂other␈α∂program,␈α∂such␈α∂as
␈↓ ↓H␈β≠␈↓βXLITER.␈α⊗For␈αthis␈αand␈αsimilar␈αuse,␈αPOX␈αcan␈αaccept␈αcertain␈αsystem␈αXGP␈αescape␈αsequences␈αat␈αsome␈α
places
␈↓ ↓H␈β9␈↓βin␈αthe␈αinput␈αfile.␈↓¬␈α⊗What␈αPOX␈αdoes␈αis␈αto␈αconvert␈αthese␈αescape␈αsequences␈αinto␈αthe␈αequivalent␈αbrick␈αcommand␈αupon␈αinput,␈αthen␈αto
␈↓ ↓H␈β[␈↓¬process␈α∞the␈α∞brick␈α
command␈α
in␈α
the␈α
usual␈α
way.␈α~Thus␈α
the␈α
XLITER␈α
program␈α
can␈α
transliterate␈α
phonemes␈α
into␈α
cyrillic␈α
characters␈α
with
␈↓ ↓H␈βy␈↓¬rubout-style␈α
font␈α
selects␈α
(to␈α
allow␈α
direct␈α
listing␈α
on␈α
the␈α
XGP␈α
if␈α
desired),␈α
and␈α
POX␈α
can␈α
treat␈α
the␈α
cyrillic␈α
as␈α
text,␈α
treat␈α
the␈α
font-selects
␈↓ ↓H␈β⊃␈↓¬generated␈α in␈αλthe␈αλprocess␈αλof␈αλtransliteration␈αλas␈↓␈αλ1␈↓∂F␈↓¬...␈αλcommands,␈αλand␈αλprocess␈αλother␈αλbrick␈αλcommands␈αλthat␈αλwere␈αλin␈αλthe␈αλoriginal␈αλtext␈αλfile␈αλ(that
␈↓ ↓H␈β5␈↓¬were␈α
passed-as-is␈α
by␈α
XLITER).
␈↓ α_␈βm␈↓βTo␈α
run␈α
POX,␈α
use␈α
the␈α
system␈α
command␈↓∂␈α
R␈α
POX␈↓β␈α
(or␈↓∂␈α
RU␈α
POX[1,REM]␈↓β␈α
if␈αyou␈αwant␈αto␈αuse␈αthe␈αlatest
␈↓ ↓H␈β
␈↓βexperimental␈α∩version␈α∩of␈α∩POX␈α∩if␈α∩one␈α∩exists).␈α$POX␈α∩wants␈α⊃to␈α⊃see␈α⊃a␈α⊃command␈α⊃of␈α⊃the␈α⊃form:␈↓¬␈α⊃<OUTPUT
␈↓ ↓H␈β
)␈↓¬FILE>␈↓∂←␈↓¬<INPUT␈αFILE>␈↓β.␈α_If␈αthe␈↓¬␈α<OUTPUT␈αFILE>␈↓β␈αterm␈αis␈αomitted␈α(the␈αarrow␈αis␈αthen␈αoptional)␈αthen␈αthe␈αoutput␈αfile
␈↓ ↓H␈β
G␈↓βwill␈α
have␈α
the␈α
same␈α
name␈α
as␈α
the␈α
input␈α
file,␈α
and␈α
"␈↓∂.XGP␈↓β"␈α
extension.␈α∀If␈α
only␈α
the␈α
extension␈α
of␈α
the␈α
output␈α
file
␈↓ ↓H␈β
e␈↓βis␈α∂omitted,␈α∂"␈↓∂.XGP␈↓β"␈α∞will␈α∞be␈α∞used.␈α≤If␈α∞the␈α∞extension␈α∞of␈α∞the␈α∞input␈α∞file␈α∞is␈α∞omitted␈α∞and␈α∞the␈α∞period␈α∞is␈α∞also
␈↓ ↓H␈β∞β␈↓βomitted,␈α"␈↓∂.POX␈↓β"␈αis␈αassumed,␈αand␈αif␈αthat␈αfile␈αisn't␈αfound␈αthen␈αnull␈αextension␈αis␈αtried.␈α_If␈αthe␈αextension␈αis
␈↓ ↓H␈β∞!␈↓βomitted␈α
but␈α
the␈α
period␈αis␈αretained,␈αonly␈αthe␈αnull␈αextension␈αis␈αtried.␈α_--␈αAlternately,␈αinstead␈αof␈αdoing␈↓∂␈αR
␈↓ ↓H␈β∞?␈↓∂POX␈↓β,␈αthe␈αsystem␈αcommand␈↓∂␈αPOX␈↓β␈αmay␈αbe␈αfollowed␈αby␈αthe␈↓¬␈α<OUTPUT␈αFILE>␈↓∂←␈↓¬<INPUT␈αFILE>␈↓β␈αsyntax␈αall␈αon␈αone␈αline.
␈↓ ↓H␈β∞]␈↓β--␈αLater␈αif␈αyou␈αhaven't␈αlogged␈αout␈αand␈αhave␈αthe␈αsame␈αalias,␈αyou␈αcan␈αmake␈αPOX␈αuse␈αthe␈αsame␈αcommand,
␈↓ ↓H␈β∞{␈↓βwithout␈α⊂retyping␈α⊂it,␈α⊂by␈α⊂starting␈α∂POX␈α∂at␈α∂the␈α∂RPG␈α∂starting␈α∂address.␈α≡For␈α∂example,␈α∂you␈α∂can␈α∂say␈α∂"␈↓∂GET
␈↓ ↓H␈β∂→␈↓∂SYS:POX␈↓β"␈α
then␈α
say␈α
"␈↓∂S␈α
+1␈↓β",␈α
or␈α
from␈α
E␈α
you␈α
can␈α
give␈α
the␈α
extend-mode␈α
command␈α
"␈↓∂RU␈α
POX[1,3]␈↓β".
␈↓ α_␈β∂7␈↓βIf␈αall␈αis␈αwell␈αwith␈αthe␈αinput␈αfile,␈αPOX␈αwill␈αrun␈αand␈αproduce␈αan␈αoutput␈αfile␈αsuitable␈αfor␈↓∂␈αXSPOOL␈↓βing.
␈↓ ∃␈↓α 1␈↓ βx␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∃␈↓α 2␈↓ βx␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ↓H␈β↓H␈↓βIf␈αyou␈αare␈αat␈αa␈αlocal␈αdisplay,␈αPOX␈α
will␈α
load␈α
the␈α
appropriate␈↓∂␈α
XSPOOL␈↓β␈α
command␈α
into␈α
your␈α
line␈α
editor,␈α
so␈α
all
␈↓ ↓H␈β↓f␈↓βyou␈α
have␈α
to␈α
do␈α
is␈α
type␈α
return␈α
to␈α
spool␈α
the␈α
file.
␈↓ ¬;␈βα≥␈↓Sample POX input file
␈↓ βn␈βα;␈↓(I assume you will have your files in E/TV format)
␈↓ ↓H␈βα|␈↓∂COMMENT ⊗ VALID 00002 PAGES
␈↓ ↓H␈ββ~␈↓∂C REC PAGE DESCRIPTION
␈↓ ↓H␈ββ8␈↓∂C00001 00001
␈↓ ↓H␈ββV␈↓∂C00002 00002␈↓ βH\|\\M0FIX25\M1NGR25\ This is a comment, after the brick-semicolon
␈↓ ↓H␈ββt␈↓∂C00004 ENDMK
␈↓ ↓H␈β∧∩␈↓∂C⊗;
␈↓ ∧l␈β∧4␈↓¬<FORMFEED> i.e. page mark after directory page
␈↓ ↓H␈β∧N␈↓∂\|\\M0FIX25;\M1NGR25;\; This is a comment, after the brick-semicolon
␈↓ ↓H␈β∧l␈↓∂\; Font #0 is here in case title pages needed -- If we
␈↓ ↓H␈β¬
␈↓∂\; don't explicitly specify it here, the system will invent a font#0.
␈↓ ↓H␈β¬(␈↓∂\←L\+=100;\→L\; Move left margin in by 1/2 inch
␈↓ ↓H␈β¬F␈↓∂\F1\CTITLE OF THIS DOCUMENT IS HERE
␈↓ ↓H␈βεα␈↓∂\J␈↓ αHThis is a sample document, with justified text, and a centered
␈↓ ↓H␈βε ␈↓∂title. It demonstrates to the person using POX for the first time,
␈↓ ↓H␈βε>␈↓∂just what is involved in a simple POX manuscript (borrowing terminology
␈↓ ↓H␈βε\␈↓∂from the PUB manual, in which a "manuscript" is the uncompiled form
␈↓ ↓H␈βεz␈↓∂you sdπ`here and a "document" is the compiled file all
␈↓ ↓H␈βπ_␈↓∂ready to output to some device such as lineprinter or XGP). If you
␈↓ ↓H␈βπ6␈↓∂have any doubt what the output on the XGP would look like if
␈↓ ↓H␈βπT␈↓∂this document were actually compiled etc., I suggest you create
␈↓ ↓H␈βπr␈↓∂a text file with E or SOS and copy this page (after the formfeed
␈↓ ↓H␈βλ⊂␈↓∂above, until the end-of-file location below), and actually
␈↓ ↓H␈βλ.␈↓∂compile it and XSPOOL it.\.
␈↓ ε␈βλP␈↓¬<END OF FILE>
␈↓ βZ␈β β␈↓THIS WRITEUP -- ORGANIZATION, MODES, NOTATION
␈↓ α_␈β &␈↓βEach␈α
section␈α
in␈αthis␈αwriteup␈αthat␈αdescribes␈αbrick-commands␈αconsists␈αof␈αthe␈αfollowing:␈α_Summary
␈↓ ↓H␈β D␈↓βof␈αwhat␈αit's␈αall␈αused␈αfor,␈αsyntax␈α
of␈α
each␈α
command,␈α
the␈α
corresponding␈α
descriptions␈α
of␈α
what␈α
function␈α
each
␈↓ ↓H␈β b␈↓βcommand␈αperforms,␈αexamples␈αof␈αthe␈αuse␈αof␈αthe␈αcommands␈αin␈αthis␈αwriteup␈α
itself␈α
with␈α
general␈α
references
␈↓ ↓H␈β
␈↓βas␈α⊃to␈α⊃where␈α⊃to␈α⊃look␈α⊃to␈α⊃see␈α⊃the␈α⊃effect␈α⊂generated,␈α⊂additional␈α⊂examples␈α⊂of␈α⊂use␈α⊂(input␈α⊂text␈α⊂followed
␈↓ ↓H␈β
≡␈↓βimmediately␈α
by␈α
the␈α
effect␈α
generated␈α
in␈α
output).
␈↓ α_␈β
Z␈↓βSome␈α⊂brick-commands␈α⊂will␈α⊂put␈α∂the␈α∂command␈α∂scanner␈α∂in␈α∂a␈α∂special␈α∂mode␈α∂until␈α∂such␈α∂time␈α∂as␈α∂an
␈↓ ↓H␈β
x␈↓βappropriate␈α"get␈αout␈αof␈αthis␈αmode"␈αcharacter␈αor␈αbrick-command␈αis␈αseen,␈αat␈αwhich␈αtime␈αit␈αwill␈αreturn␈αto
␈↓ ↓H␈β⊗␈↓βits␈αprevious␈αmode.␈α⊗Initially␈α(after␈αeating␈αthe␈αdirectory␈αpage␈αand␈αthe␈αfirst␈αcharacter␈αor␈αtwo␈αof␈α
the␈α
input
␈↓ ↓H␈β4␈↓βfile)␈α
the␈αcommand␈αscanner␈αis␈αin␈α"PASS-AS-IS"␈αmode␈αwhich␈αmeans␈αthat␈αcarriage-return␈αputs␈αyou␈αat␈αthe
␈↓ ↓H␈βR␈↓βleft␈α∞margin,␈α∞linefeed␈α∞moves␈α∞down␈α∞to␈α∞the␈α∞next␈α∞line,␈α∞formfeed␈α
completes␈α
the␈α
page␈α
and␈α
cuts␈α
the␈α
paper,
␈↓ ↓H␈βp␈↓βbrick␈α
causes␈α
a␈α
command␈α
to␈α
be␈α
expected,␈α
and␈α
all␈α
other␈αcharacters␈αare␈αcopied␈αto␈αthe␈αoutput␈αfile␈αin␈αthe
␈↓ ↓H␈β∞␈↓βcurrently-selected␈αfont.␈α_The␈αeffect␈αis␈αthat␈αtext␈αis␈αaligned␈αagainst␈αthe␈αleft␈αmargin␈αunless␈αyou␈αexplicitly
␈↓ ↓H␈β,␈↓βdo␈α
a␈α
column-select␈α
to␈α
cause␈α
it␈α
to␈α
be␈α
put␈α
elsewhere.
␈↓ α_␈βJ␈↓βThe␈α∞other␈α∞modes␈α∞you␈α∞can␈α∞get␈α∞into␈α
are␈α
justify,␈α
centerify/rightify,␈α
copy␈α
text␈α
into␈α
a␈α
macro␈α
body,
␈↓ ↓H␈βh␈↓βevaluate␈α∂and␈α∂copy␈α∂text␈α∂into␈α∂an␈α∂overlay␈α∂body,␈α∂evaluate␈α∂and␈α∂copy␈α∂text␈α∂into␈α∂a␈α∞macro␈α∞argument␈α∞body,
␈↓ ↓H␈β
ε␈↓βignore␈α
until␈α
linefeed,␈α
ignore␈α
until␈α
formfeed,␈αignore␈αnonprinting␈αcharacters␈αuntil␈αsemicolon,␈αand␈αparse␈αa
␈↓ ↓H␈β
$␈↓βbrick␈α∞command.␈α≤Before␈α∞each␈α∞command␈α∞description␈α∞is␈α∞a␈α∞list␈α∞of␈α∞which␈α∞modes␈α∞you␈α
can␈α
be␈α
in␈α
when␈α
the
␈↓ ↓H␈β
B␈↓βcommand␈αis␈αscanned.␈α_The␈αcomplete␈αlist␈αis␈α(U␈αJ␈αCR␈αo␈αA)␈αwhich␈αrefer␈αto␈αUnjustified␈α(normal␈αpass-as-is),
␈↓ ↓H␈β
↑␈↓βJustify,␈α∂Center/Rightify,␈α∂atomic␈α∂text␈α∂Overlay␈α∂(␈↓1␈↓∂o␈↓β␈α∂command)␈α∂and␈α∂Argument␈α∂to␈α∂a␈α∂macro␈α∂or␈α∂text␈α∂to␈α∂an
␈↓ ↓H␈β
}␈↓βalternate␈α
output␈α
file,␈α
respectively␈α
(in␈α
the␈αother␈αmodes,␈αnamely␈αdefine␈αthe␈αbody␈αof␈αa␈αmacro,␈αand␈αparse
␈↓ ↓H␈β∞≤␈↓βvarious␈α
commands,␈α
the␈α
brick␈α
character␈α
is␈α
treated␈α
as␈α
text␈α
rather␈α
than␈α
initiating␈α
a␈α
brick-command).
␈↓ α_␈β∞X␈↓βMany␈α⊂places␈α⊂in␈α⊂this␈α⊂writeup␈α⊂it␈α⊂is␈α⊂necessary␈α⊂to␈α⊂show␈α⊂a␈α⊂string␈α∂of␈α∂text␈α∂that␈α∂looks␈α∂as␈α∂much␈α∂as
␈↓ ↓H␈β∞v␈↓βpossible␈α
like␈αwhat␈αthe␈αuser␈αwould␈αsee␈αwhen␈αediting␈αhis␈αsource␈αdocument.␈α_(I.e.,␈αin␈αexamples␈αof␈αhow␈αto
␈↓ ↓H␈β∂∀␈↓βdo␈αthings,␈αand␈αin␈αthe␈αsyntax␈αdescriptions␈αwhere␈αa␈αparticular␈αcharacter␈αoccurs␈αas␈αpart␈αof␈αthe␈αcommand.)
␈↓ ↓H␈β∂2␈↓βFor␈α∞this␈α∞purpose␈α∞the␈α∞font␈α∞KBD25␈α∞is␈α∞used,␈α
which␈α
has␈α
fixed-width␈α
characters␈α
that␈α
look␈α
very␈α
much␈α
like
␈↓ ∃␈↓α 2␈↓ βx␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∃␈↓α 3␈↓ βx␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ↓H␈β↓H␈↓βthose␈α⊗on␈α⊗local␈α⊗keyboards␈α⊗and␈α⊗displays␈α⊗and␈α⊗on␈α⊗our␈α⊗line-printer.␈α*Here␈α∃is␈α∃the␈α∃complete␈α∃7-bit
␈↓ ↓H␈β↓f␈↓βStanford-ASCII␈α
character␈α
set␈α
in␈α
this␈α
font:
␈↓ ↓H␈βα∧␈↓∂␈↓αβ∧¬επ λ␈ ␈
␈␈
∞∂ ⊂⊃∩∪∀∃⊗↔ _→~≠≤≥≡∨ !"#$%&' ()*+,-./ 01234567 89:;<=>?
␈↓ ↓H␈βα"␈↓∂@ABCDEFG HIJKLMNO PQRSTUVW XYZ[\]↑← `abcdefg hijklmno pqrstuvw xyz{|␈⎇}␈␈
␈↓ ↓H␈βα@␈↓βThe␈α
following␈α
characters,␈αhowever,␈αdon't␈αlook␈αthe␈αsame␈αon␈αour␈αvarious␈αdevices,␈αand␈αusually␈αrepresent
␈↓ ↓H␈βα↑␈↓βspecial␈α⊃functions␈α⊃rather␈α⊃than␈α⊃normal␈α⊂text,␈α⊂and␈α⊂hence␈α⊂will␈α⊂be␈α⊂represented␈α⊂in␈α⊂a␈α⊂special␈α⊂way␈α⊂in␈α⊂this
␈↓ ↓H␈βα|␈↓βwriteup:
␈↓ ↓H␈ββ~␈↓βOCTAL␈↓ αKKBD25␈↓ βNIN THIS WRITEUP␈↓ ¬TCOMMENTS
␈↓ ↓H␈ββ8␈↓β000␈↓∂␈↓ αK␈␈↓β␈↓ ¬Tnull, ignored if occurs in source document
␈↓ ↓H␈ββV␈↓β011␈↓∂␈↓ αK␈ ␈↓¬␈↓ βN<TB>␈↓β␈↓ ¬T(horizontal) tab
␈↓ ↓H␈ββt␈↓β012␈↓∂␈↓ αK␈
␈↓¬␈↓ βN<LF>␈↓β␈↓ ¬Tline (feed)
␈↓ ↓H␈β∧∩␈↓β013␈↓∂␈↓ αK␈↓¬␈↓ βN<VT>␈↓β␈↓ ¬Tvertical-tab
␈↓ ↓H␈β∧0␈↓β014␈↓∂␈↓ αK␈␈↓¬␈↓ βN<FF>␈↓β␈↓ ¬Tform (feed)
␈↓ ↓H␈β∧N␈↓β015␈↓∂␈↓ αK␈
␈↓¬␈↓ βN<CR>␈↓β␈↓ ¬T(carriage) return, always followed by ␈↓¬<LF>
␈↓ ↓H␈β∧l␈↓β040␈↓∂␈↓ αK ␈↓¬␈↓ βN<SP>␈↓β␈↓ ¬Tspace (bar), usually shown as actual space
␈↓ ↓H␈β¬
␈↓β177␈↓∂␈↓ αK␈␈␈↓β␈↓ ¬Trubout, doesn't occur in source-documents
␈↓ α_␈β¬(␈↓βThe␈α
following␈α
additional␈α
BNF-style␈α
syntactical␈α
notation␈α
will␈α
be␈α
used␈α
in␈α
this␈α
paper:
␈↓ α_␈β¬F␈↓¬<CH>␈↓β␈α
--␈α
any␈α
single␈α
ASCII␈α
character␈α
(representing␈α
data␈α
to␈α
be␈α
copied␈α
to␈α
output)
␈↓ α_␈β¬d␈↓¬<N>␈↓β␈α∩--␈α⊃any␈α⊃one␈α⊃of␈α⊃these␈α⊃characters:␈↓∂␈α⊃0␈α⊃1␈α⊃2␈α⊃...␈α⊃9␈α⊃A␈α⊃B␈α⊃...␈α⊃F␈↓β␈α⊃(representing␈α⊃a␈α⊃logical␈α⊃font
␈↓ ↓H␈βεα␈↓βnumber␈α
in␈α
IBM␈α
hexadecimal␈α
notation)
␈↓ α_␈βε ␈↓¬<FONT>␈↓β␈α⊃--␈α⊃any␈α⊃font␈α⊃file␈α⊃name,␈α⊃if␈α⊃extension␈α⊂and␈α⊂[p,p]␈α⊂are␈α⊂omitted,␈α⊂default␈↓∂␈α⊂.FNT[XGP,SYS]␈↓β␈α⊂is
␈↓ ↓H␈βε>␈↓βassumed
␈↓ α_␈βε\␈↓¬<NAME>␈↓β␈α∂--␈α∂any␈α∂alphanumeric␈α∂string,␈α∂usually␈α∂required␈α∂not␈α∂to␈α∂be␈α∂the␈α∂null␈α∞string␈α∞(an␈α∞identifier,␈α∞a
␈↓ ↓H␈βεz␈↓βname␈α
of␈α
an␈α
overlay,␈α
a␈α
macro,␈α
etc.)
␈↓ α_␈βπ_␈↓¬<OPEN>␈↓β␈α
--␈α
any␈α
legal␈α
open-nesting␈α
character,␈α
such␈α
as␈↓∂␈α
(␈α
[␈α
{␈α
<␈α
⊂␈↓β,␈α
or␈α
any␈α
legal␈αquoting␈αcharacter,
␈↓ ↓H␈βπ6␈↓βsuch␈α
as␈↓∂␈α
"␈α
⊗␈α
↓␈α
/␈α
∂␈α
|
␈↓ α_␈βπT␈↓¬<CLOSE>␈↓β␈α∩--␈α∩the␈α∩matching␈α∩close-nesting␈α∩character,␈α∩such␈α∩as␈↓∂␈α∩)␈α∩]␈α∩}␈α∩>␈α∩⊃␈↓β,␈α∩or␈α∩the␈α⊃same␈α⊃quoting
␈↓ ↓H␈βπr␈↓βcharacter,␈α
such␈α
as␈↓∂␈α
"␈α
⊗␈α
↓␈α
/␈α
∂␈α
|
␈↓ α_␈βλ⊂␈↓¬<BODY>␈↓β␈α--␈αany␈αstring␈αof␈αtext␈αnot␈αcontaining␈αthe␈αquoting␈αcharacter,␈αor␈αcontaining␈αproperly-nested
␈↓ ↓H␈βλ.␈↓βopen␈αand␈α
close␈α
nesting␈α
characters␈α
(note␈α
that␈α
all␈α
characters␈α
are␈α
treated␈α
as␈α
text␈α
except␈α
for␈α
the␈α
␈↓&particular␈↓)αβ
␈↓ ↓H␈βλL␈↓βquoting␈α
character␈α
or␈α
nesting␈α
pair␈α
selected␈α
in␈α
a␈α
particular␈α
instance,␈α
and␈α
special␈α
characters␈α
like␈α
comma
␈↓ ↓H␈βλj␈↓βetc.␈α
which␈α
have␈α
special␈α
syntactical␈α
meaning)␈α
--␈α
see␈α
description␈α
in␈α
commands␈α
where␈α
used
␈↓ α_␈β λ␈↓¬<FILNAM>␈↓β␈α
--␈α
any␈α
standard␈α
file␈α
name,␈α
such␈α
as␈↓∂␈α
SUDS.RPH[UP,DOC]␈↓β.
␈↓ ↓d␈β ?␈↓BASIC COMMANDS --- FONT SELECTION, JUSTIFY, CENTERIFY/RIGHTIFY, IGNORE TEXT
␈↓ α_␈β b␈↓βThe␈α∂purpose␈α∂of␈α∂these␈α∞commands␈α∞is␈α∞to␈α∞select␈α∞the␈α∞style␈α∞and␈α∞size␈α∞of␈α∞printing␈α∞(for␈α∞example,␈α∞font
␈↓ ↓H␈β
␈↓∂BDI25␈↓β␈α⊂is␈α⊂BODONI-ITALIC,␈α⊂25/200␈α⊂inches␈α⊂high),␈α⊂to␈α⊂enter␈α∂and␈α∂exit␈α∂justify␈α∂mode␈α∂(in␈α∂which␈α∂the␈α∂text␈α∂is
␈↓ ↓H␈β
≡␈↓βmassaged␈α
so␈α
that␈α
each␈α
line␈α
is␈αas␈αfull␈αof␈αtext␈αas␈αwill␈αfit␈αand␈αextra␈αpartial-spaces␈αare␈αinserted␈αbetween
␈↓ ↓H␈β
<␈↓βwords␈α
to␈α
make␈α
the␈α
margins␈α
line␈α
up␈α
exactly),␈α
to␈α
enter␈α
and␈α
exit␈α
rightify␈α
mode␈α
(in␈α
which␈α
text␈α
is␈αaligned
␈↓ ↓H␈β
Z␈↓βwith␈α⊃the␈α⊃right-margin␈α⊃but␈α⊃not␈α⊃modified␈α⊃in␈α⊃any␈α⊃other␈α⊃way),␈α⊂to␈α⊂enter␈α⊂and␈α⊂exit␈α⊂centerify␈α⊂mode␈α⊂(like
␈↓ ↓H␈β
x␈↓βpass-as-is␈αand␈αrightify␈αexcept␈αeach␈αline␈αis␈αcentered),␈αand␈αto␈αignore␈αportions␈αof␈αthe␈αinput␈αtext␈αthat␈αyou
␈↓ ↓H␈β⊗␈↓βdo␈α
not␈α
want␈α
processed.
␈↓ ¬o␈βR␈↓βFONT SELECTION
␈↓ ↓H␈βn␈↓1␈↓∂M␈↓¬<N><FONT>␈↓∂;␈↓β␈↓ β"(U)␈α⊂--␈α⊂causes␈α⊂the␈α⊂font␈α⊂to␈α⊂be␈α⊂loaded␈α⊂into␈α⊂pox␈α∂(and␈α∂later␈α∂into␈α∂the␈α∂system␈α∂XGP
␈↓ β"␈β∞␈↓βservice),␈αand␈αselects␈αit␈αnow␈α--␈αsee␈αnote␈α5␈αand␈αbug␈α2␈α--␈αthis␈αis␈αthe␈αcommand␈αthat
␈↓ β"␈β,␈↓βsets␈αup␈αthe␈αcorrespondence␈αbetween␈αfonts␈αand␈αthe␈α
numbers␈α
you␈α
will␈α
use␈α
later␈α
to
␈↓ β"␈βJ␈↓βselect␈α∞them␈α∞--␈α∞type␈α∞to␈α∞the␈α∞system␈↓∂␈α
HELP␈α
FONT␈↓β␈α
to␈α
find␈α
out␈α
about␈α
fonts␈α
that␈α
are
␈↓ β"␈βh␈↓βavailable␈α∂and␈α∂how␈α∞to␈α∞peruse␈α∞them␈α∞--␈α∞always␈α∞define␈α∞one␈α∞of␈α∞your␈α∞fonts␈α∞as␈α∞with
␈↓ β"␈β
ε␈↓¬<N>␈↓β=␈↓∂0␈↓β,␈αotherwise␈αthe␈αsystem␈α(which␈αalways␈αinsists␈αon␈αhaving␈αfont#␈↓∂0␈↓β␈αaround␈αeven
␈↓ β"␈β
$␈↓βif␈α
it␈α
has␈α
to␈α
make␈α
it␈αup)␈αwill␈αwaste␈αyour␈αtime␈αby␈αloading␈αone␈αmore␈αfont␈αthan␈αyou
␈↓ β"␈β
B␈↓βare␈α
actually␈α
using.
␈↓ ↓H␈β
↑␈↓1␈↓∂F␈↓¬<N>␈↓β␈↓ β"(U␈αJ␈αCR␈αo)␈α--␈αselects␈αa␈αfont␈αwhich␈αhas␈αalready␈αbeen␈αloaded␈α--␈αall␈αtext␈αafter␈αthis
␈↓ β"␈β
|␈↓βcommand␈α
before␈α
the␈α
next␈↓␈α
1␈↓∂F␈↓β␈α
or␈↓␈α
1␈↓∂M␈↓β␈α
will␈α
be␈α
in␈α
font#␈↓¬<N>␈↓β.
␈↓ ↓H␈β∞~␈↓1␈↓∂f␈↓¬<N>␈↓β␈↓ β"(U␈αJ␈αCR)␈α--␈αselects␈αa␈αfont␈αfor␈αjust␈α
one␈α
character,␈α
then␈α
back␈α
to␈α
old␈α
font.␈α∀WARNING
␈↓ β"␈β∞:␈↓β--␈α⊃Do␈α⊃not␈α⊃place␈α⊃the␈α⊃brick␈α⊃character␈α⊃immediately␈α⊃after␈α⊂this␈α⊂command␈α⊂because
␈↓ β"␈β∞X␈↓βcurrently␈α∞POX␈α∞will␈α∞quote␈α∞the␈α∞brick␈α∞character␈α
in␈α
the␈α
temporary␈α
font␈α
rather␈α
than
␈↓ β"␈β∞v␈↓βescaping␈αand␈αquoting␈αthe␈αfirst␈αcharacter␈αof␈αgenerated␈αtext␈αin␈αthe␈αtemporary␈αfont
␈↓ β"␈β∂∀␈↓β--␈αbecause␈αthis␈αis␈αregarded␈αas␈αa␈αbug␈α
it␈α
might␈α
be␈α
changed␈α
someday␈α
--␈α
currently␈α
it
␈↓ β"␈β∂2␈↓βgenerates␈α
a␈α
warning␈α
message.
␈↓ ∃␈↓α 3␈↓ βx␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∃␈↓α 4␈↓ βx␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ↓H␈β↓H␈↓β(See also push and pop font commands in the section on REGISTER COMMANDS.)
␈↓ εε␈βα∧␈↓βIGNORE TEXT
␈↓ ↓H␈βα ␈↓1␈↓∂␈↓β (vert. tab)␈↓ β"(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
without␈α
changing␈α
mode,␈α
and␈α
without␈α
allowing␈α
EVERYPAGE␈αto␈αbe
␈↓ β"␈βα@␈↓βcalled␈α⊃here,␈α⊃ignore␈α⊃all␈α⊃input␈α⊃text␈α⊃up␈α⊃to␈α⊃and␈α⊃including␈α⊃the␈α⊂next␈α⊂linefeed,␈α⊂thus
␈↓ β"␈βα↑␈↓βconcatenation␈α⊂of␈α∂input␈α∂lines␈α∂may␈α∂be␈α∂done␈α∂providing␈α∂that␈α∂the␈α∂line-break␈α∂is␈α∂not
␈↓ β"␈βα|␈↓βinside␈αsome␈αcommand␈αsyntax␈α--␈αif␈αyou␈αdo␈αthis␈αat␈αthe␈αbeginning␈α
of␈α
a␈α
line␈α
it␈α
is␈α
as␈α
if
␈↓ β"␈ββ~␈↓βthe␈α∞whole␈α∞line␈α∞weren't␈α∞there,␈α∞thus␈α
comment␈α
lines␈α
may␈α
be␈α
inserted␈α
anywhere␈α
in
␈↓ β"␈ββ8␈↓βthe␈α
source␈αfile␈αexcept␈αin␈αthe␈αmiddle␈αof␈αmacro-body-definitions␈αand␈αin␈αthe␈αmiddle
␈↓ β"␈ββV␈↓βof␈α⊃the␈α⊃syntax␈α⊃of␈α⊃brick-commands␈α⊃--␈α⊃this␈α⊃command␈α⊃is␈α⊃especially␈α⊃useful␈α⊃inside
␈↓ β"␈ββt␈↓βjustify␈α∞or␈α∞centerify/rightify␈α∞mode␈α∞to␈α∞create␈α∞a␈α∞very␈α∞long␈α∞word␈α
or␈α
a␈α
complicated
␈↓ β"␈β∧∩␈↓βformula␈αor␈αa␈αlong␈αsequence␈αof␈αarithmetic␈αoperations␈αwithout␈αleaving␈αthe␈αmode.␈α∃It
␈↓ β"␈β∧0␈↓βis␈αalso␈αuseful␈αin␈αPASS-AS-IS␈αto␈αavoid␈αcalling␈αEVERYPAGE␈αjust␈αthen,␈αand␈αin␈α
macros
␈↓ β"␈β∧N␈↓βthat␈α
are␈α
likely␈α
to␈α
be␈α
called␈α
from␈α
almost␈α
anywhere.
␈↓ ↓H␈β∧j␈↓1␈↓∂N␈↓β␈↓ β"(U␈αJ␈αCR␈αo␈αA)␈α--␈αsame␈αas␈↓␈α1␈↓∂␈↓β␈αfor␈αpeople␈αwho␈αdon't␈αlike␈αvertical␈αtabs␈αin␈αtheir␈αtext
␈↓ β"␈β¬
␈↓βfiles.␈α→(They␈αprint␈αout␈αas␈↓¬␈α<LF><LF><LF><LF>␈↓β␈αon␈αTTY's,␈αdial-up␈αlines␈αand␈αthe␈αLPT,␈αas
␈↓ β"␈β¬(␈↓β"␈↓∂␈↓β"␈α∞on␈α∞local␈α∞DPY's␈α∞and␈α∞the␈α∞XGP,␈α∞as␈α∞<erase-to-end-of-screen>␈α∞on␈α∞some␈α
Beehive
␈↓ β"␈β¬F␈↓βterminals,␈α
and␈α
who-knows-what␈α
on␈α
other␈α
display␈α
terminals␈α
on␈α
the␈α
arpanet.)
␈↓ ↓H␈β¬b␈↓1␈↓∂,␈↓β (comma)␈↓ β"(U␈αJ␈αCR␈α
o␈α
A)␈α
--␈α
same␈α
as␈↓␈α
1␈↓∂␈↓β␈α
except␈α
it␈α
ignores␈α
through␈α
next␈α
form-feed␈α
(page␈α
mark)
␈↓ β"␈βεα␈↓βthereby␈α∪making␈α∪concatenating␈α∪two␈α∪pages␈α∩into␈α∩one␈α∩--␈α∩if␈α∩you␈α∩do␈α∩this␈α∩at␈α∩the
␈↓ β"␈βε ␈↓βbeginning␈α
of␈α
a␈α
page,␈α
it␈α
is␈α
as␈α
if␈α
the␈α
whole␈α
page␈α
weren't␈α
there.
␈↓ ↓H␈βε<␈↓1␈↓∂ ␈↓β (space)␈↓ β"(U␈α∂J␈α∞CR␈α∞o␈α∞A)␈α∞--␈α∞without␈α∞changing␈α∞mode,␈α∞ignore␈α∞all␈α∞input␈α∞text␈α∞(only␈α∞spaces␈α∞and
␈↓ β"␈βε\␈↓βtabs␈αallowed)␈αup␈αto␈αand␈αincluding␈αthe␈αnext␈αsemicolon.␈α⊗This␈α
is␈α
useful␈α
for␈α
indenting
␈↓ β"␈βεz␈↓βinput-text␈α↔without␈α↔generating␈α↔spaces␈α↔or␈α↔tabs␈α⊗in␈α⊗the␈α⊗output.␈α⊗--␈α⊗Proposed
␈↓ β"␈βπ_␈↓βadditional␈α⊃feature,␈α⊃if␈α⊃spaces␈α⊃and␈α⊃tabs␈α⊃are␈α⊃terminated␈α⊂by␈α⊂a␈α⊂printing␈α⊂character
␈↓ β"␈βπ6␈↓βother␈α
than␈α
semicolon,␈α
that␈α
character␈αwill␈αterminate␈αthis␈αmode␈αbut␈αwill␈αbe␈αunread
␈↓ β"␈βπT␈↓βbefore␈α
returning␈α
to␈α
previous␈α
mode.
␈↓ ↓H␈βπp␈↓1␈↓β␈↓ αH (tab)␈↓ β"(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
same␈α
as␈↓␈α
1␈↓β␈α
(space).
␈↓ ∧G␈βλ.␈↓βENTER SPECIAL-FORMATTING MODES (J CR)
␈↓ ↓H␈βλJ␈↓1␈↓∂J␈↓β␈↓ β"(U)␈α--␈αbegins␈αfull-justify␈αmode,␈αsee␈αtable␈αbelow␈αfor␈αdetails␈αon␈αthis␈αmode␈αand␈αhow
␈↓ β"␈βλj␈↓βto␈α⊃get␈α⊃out␈α⊃of␈α⊃it.␈α"--␈α⊃Be␈α⊃aware␈α⊃that,␈α⊂because␈α⊂font␈α⊂selects␈α⊂count␈α⊂as␈α⊂text␈α⊂and
␈↓ β"␈β λ␈↓βtherefore␈α∂must␈α∂be␈α∂inside␈α∂words,␈α∂and␈α∂because␈α∂tabs␈α∂cannot␈α∂be␈α∂in␈α∂the␈α∞middle␈α∞of
␈↓ β"␈β &␈↓βjustified␈α
lines␈α
of␈α
text,␈α
the␈α
following␈α
input␈α
syntax␈α
is␈α
illegal␈α
and␈α
will␈α
generate␈αthe
␈↓ β"␈β D␈↓β"illegal␈α
tab␈α
in␈α
justify"␈α
error␈α
message:
␈↓ ↓H␈β `␈↓1␈↓∂J␈↓1␈↓∂F1␈↓¬<TB>␈↓∂This is a paragraph of text␈↓β...␈↓1␈↓∂.
␈↓ β"␈β
␈↓βTo␈α
avoid␈α
this␈α
problem,␈α
I␈α
suggest␈α
you␈α
do␈α
it␈α
this␈α
way␈α
instead:
␈↓ ↓H␈β
≤␈↓1␈↓∂F1␈↓1␈↓∂J␈↓¬<TB>␈↓∂This is a paragraph of text␈↓β...␈↓1␈↓∂.
␈↓ ↓H␈β
:␈↓1␈↓∂R␈↓β␈↓ β"(U)␈α⊃--␈α⊃begins␈α⊃single-line␈α⊂align-against-right-margin␈α⊂mode,␈α⊂see␈α⊂table␈α⊂below␈α⊂for
␈↓ β"␈β
Z␈↓βdetails␈α
on␈α
this␈α
mode␈α
and␈α
how␈α
to␈α
get␈α
out␈α
of␈α
it.
␈↓ ↓H␈β
v␈↓1␈↓∂C␈↓β␈↓ β"(U)␈α--␈αbegins␈αsingle-line␈αcenter-the-line␈αmode,␈αsee␈αtable␈αbelow␈α
for␈α
details␈α
on␈α
this
␈↓ β"␈β⊗␈↓βmode␈α
and␈α
how␈α
to␈α
get␈α
out␈α
of␈α
it.
␈↓ ∧ ␈βR␈↓βEXIT SPECIAL-FORMATTING MODES, ETC. (SEE TABLE)
␈↓ ↓H␈βn␈↓1␈↓∂.␈↓β (period)
␈↓ ↓H␈β␈↓1␈↓∂;␈↓β (semicolon)␈↓ β"These␈αtwo␈αcommands␈αwill␈α
get␈α
out␈α
of␈α
some␈α
modes␈α
back␈α
to␈α
pass-as-is␈α
mode,␈α
and␈α
do
␈↓ β"␈β,␈↓βother␈αthings␈αlike␈αignoring␈αtext␈αand␈αsuppressing␈α<CR><LF>␈α--␈αsee␈αtable␈αbelow␈αfor
␈↓ β"␈βJ␈↓βdetails␈α
of␈α
what␈α
each␈α
command␈α
does␈α
inside␈α
each␈α
of␈α
the␈α
modes:
␈∧
αα"α
Z␈∧
α|xα␈∧
αα"xα␈↓ α,␈β
∧␈↓1␈↓∂.␈↓␈↓ ¬n1␈↓∂;␈↓¬␈↓ λ.<CR><LF>␈↓ <TB>␈↓β or ␈↓¬<SP>
␈∧
(αT␈∧
(Zα␈↓ 2␈β
"␈↓βPass-as-is␈↓ α,(not supported)␈↓ ¬ndo ␈↓1␈↓∂N␈↓β, #4␈↓¬␈↓ λ.<CR><LF>␈↓β, #4␈↓ copy to output
␈↓ 2␈β
@␈↓βJustify␈↓ α,finish, ␈↓¬<CR><LF>␈↓β, do ␈↓1␈↓∂N␈↓β␈↓ ¬nillegal␈↓ λ.(see #1)␈↓ (see #2)
␈↓ 2␈β
↑␈↓βCenterify/Rightify␈↓ α,finish, pass-as-is␈↓ ¬nfinish, do ␈↓1␈↓∂N␈↓β, pass-as-is␈↓ λ.finish, ␈↓¬<CR><LF>␈↓β, pass-as-is␈↓ (see #3)
␈∧
z(αT␈↓ ↓H␈β∞~␈↓βfinish␈α--␈αGet␈αout␈αof␈αspecial␈αmode␈α(don't␈αemit␈↓¬␈α<CR><LF>␈↓β␈αyet).␈α⊗To␈αprotect␈αusers␈αwho␈αput␈αtext␈αafter␈↓␈α1␈↓∂.␈↓β␈αat
␈↓ ↓H␈β∞8␈↓βthe␈αend␈α
of␈α
justified␈α
text,␈α
the␈↓␈α
1␈↓∂N␈↓β␈α
shown␈α
in␈α
the␈α
table␈α
above␈α
prints␈α
any␈α
flushed-text␈α
on␈α
your␈α
terminal␈α
as␈α
a
␈↓ ↓H␈β∞V␈↓βsort-of␈αerror␈αmessage.␈α_When␈αleaving␈αcenterify/rightify␈αmode␈αwith␈αthe␈↓␈α1␈↓∂.␈↓β␈α_command,␈αthe␈αtable␈αshows
␈↓ ↓H␈β∞t␈↓βno␈↓␈α1␈↓∂N␈↓β␈αcommand␈αand␈αno␈↓¬␈α<CR><LF>␈↓β␈αinserted,␈αso␈αthat␈αany␈αfollowing␈αtext␈αon␈αthe␈αsame␈αinput␈αline␈αwill␈αoccur
␈↓ ↓H␈β∂∩␈↓βon␈αthe␈αsame␈αline␈αof␈αoutput.␈α⊗Similarily␈αafter␈αusing␈↓␈α1␈↓∂;␈↓β␈αto␈αleave␈αcenterify/rightify␈αmode,␈α
text␈α
on␈α
the␈α
␈↓&next␈↓)αα
␈↓ ↓H␈β∂2␈↓βline␈α
of␈α
input␈α
will␈α
overprint␈α
on␈α
the␈α
␈↓&same␈↓)αα␈α
line␈α
of␈α
output.
␈↓ ∃␈↓α 4␈↓ βx␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∃␈↓α 5␈↓ βx␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ↓H␈β↓f␈↓β#1␈α∞--␈α∞A␈α∞blank␈α∞line␈α∞(i.e.␈↓¬␈α
<CR><LF>␈↓β␈α
immediately␈α
followed␈α
by␈↓¬␈α
<CR><LF>␈↓β)␈α
causes␈α
the␈α
previous␈α
paragraph␈α
(if
␈↓ ↓H␈βα∧␈↓βany␈αis␈αin␈αprogress)␈αto␈αbe␈αfinished,␈αthen␈αa␈αblank␈αline␈αis␈αemitted.␈α⊗As␈αmany␈αblank␈αlines␈αas␈αappear␈α
in␈α
input
␈↓ ↓H␈βα"␈↓βwill␈α∂appear␈α∂in␈α∂output␈α∂(but␈α∂see␈α∂BUG#4).␈α≡The␈α∂next␈α∞nonblank␈α∞line␈α∞begins␈α∞a␈α∞new␈α∞paragraph.␈α≤A␈α∞single
␈↓ ↓H␈βα@␈↓¬<CR><LF>␈↓β␈α
in␈α
a␈α
paragraph␈α
is␈α
merely␈α
a␈α
break␈α
between␈α
words.
␈↓ ↓H␈βα|␈↓β#2␈α--␈αOne␈αor␈αmore␈α
tabs␈α
at␈α
the␈α
beginning␈α
of␈α
a␈α
line␈α
causes␈α
the␈α
previous␈α
paragraph␈α
(if␈α
any␈α
is␈α
in␈α
progress)
␈↓ ↓H␈ββ~␈↓βto␈α⊂be␈α⊂finished,␈α⊂then␈α⊂a␈α⊂new␈α⊂paragraph␈α⊂is␈α⊂started␈α⊂with␈α⊂its␈α⊂first␈α⊂line␈α∂indented␈α∂by␈α∂the␈α∂tab(s).␈α≡Tab(s)
␈↓ ↓H␈ββ8␈↓βelsewhere␈αare␈αillegal.␈α⊗NOTE␈α--␈αThere␈αis␈αcurrently␈αno␈αway␈αto␈αindent␈αby␈αany␈αamount␈αother␈αthan␈α
a␈α
whole
␈↓ ↓H␈ββV␈↓βnumber␈α
of␈α
tabs,␈α
nor␈α
is␈α
there␈α
any␈α
way␈α
to␈α
outdent␈α
by␈α
any␈α
amount␈α
at␈α
all.
␈↓ ↓H␈β∧∩␈↓β#3␈α--␈αTab(s)␈α
and/or␈α
space(s)␈α
at␈α
the␈α
beginning␈α
are␈α
ignored␈α
(in␈α
centerify␈α
this␈α
makes␈α
things␈α
look␈α
pretty,␈α
in
␈↓ ↓H␈β∧0␈↓βrightify␈α
it␈α
doesn't␈α
make␈α
any␈α
difference).␈α∀Elsewhere␈α
tabs␈α
are␈α
illegal␈α
and␈α
spaces␈α
are␈α
treated␈α
as␈α
text.␈α
(The
␈↓ ↓H␈β∧N␈↓βfeature␈αof␈αignoring␈αtabs␈αand␈αspaces␈αat␈α
the␈α
end␈α
is␈α
currently␈α
under␈α
consideration␈α
so␈α
don't␈α
rely␈α
on␈α
spaces
␈↓ ↓H␈β∧l␈↓βbeing␈α
treated␈α
as␈α
text␈α
there.)
␈↓ ↓H␈β¬(␈↓β#4␈α--␈αAfter␈αperforming␈αthe␈αindicated␈αoperation,␈αif␈αthe␈αEVERYPAGE␈αfeature␈αhas␈αbeen␈αrequested␈αfor␈αthis
␈↓ ↓H␈β¬F␈↓βpage␈α∞(i.e.␈α∞if␈α∞VEREVE␈α∞was␈α∞TRUE␈α∞at␈α∞the␈α∞end␈α∞of␈α∞the␈α∞preceeding␈α∞page)␈α∞but␈α∞not␈α∞yet␈α
performed,␈α
then␈α
the
␈↓ ↓H␈β¬d␈↓βbody␈αof␈αthe␈αmacro␈αEVERYPAGE␈αis␈αpatched␈αinto␈αthe␈αinput␈αstream␈αat␈αthis␈αpoint.␈α⊗This,␈αof␈αcourse,␈αis␈αlikely
␈↓ ↓H␈βεα␈↓βto␈αclobber␈α
any␈α
registers␈α
(including␈α
the␈α
ac)␈α
that␈α
are␈α
used␈α
by␈α
the␈α
EVERYPAGE␈α
macro,␈α
unless␈α
you␈α
carefully
␈↓ ↓H␈βε ␈↓βwrite␈α
your␈α
EVERYPAGE␈α
macro␈α
so␈α
that␈α
it␈α
saves␈α
and␈α
restores␈α
the␈α
ac␈α
and␈α
any␈α
other␈α
registers␈α
it␈α
uses.
␈↓ ¬ ␈βεW␈↓Examples of basic commands
␈↓ α_␈βεz␈↓βIn this writeup I loaded the following fonts (␈↓∂$␈↓β is the escape character):
␈↓ ↓H␈βπ_␈↓∂$M0NGR30;$M1NGR30;$M2BDI25;$M3NGR25;$M4NGB25[1,REM];$M5NGR20[1,REM];$M6XMAS25;
␈↓ ↓H␈βπ6␈↓∂$MFKBD25;$MC75224X.FNT[1,REM];
␈↓ ↓H␈βπT␈↓β(Note␈αthat␈αNGR30␈αis␈αnot␈αreally␈αloaded␈αtwice␈αbecause␈αwhen␈αPOX␈αsees␈αthe␈↓∂␈α$M1␈↓β...␈αcommand␈αit␈αnotices␈αthat
␈↓ ↓H␈βπr␈↓∂NGR30␈↓β␈α∂is␈α∂already␈α∂loaded␈α∂as␈α∂font#␈↓∂0␈↓β␈α∂and␈α∂POX␈α∂then␈α∂merely␈α∂maps␈α∂user␈α∂font␈α∂number␈↓∂␈α∂1␈↓β␈α∂to␈α∂system␈α∂font
␈↓ ↓H␈βλ⊂␈↓βnumber␈↓∂␈α
0␈↓β␈α
by␈α
means␈α
of␈α
the␈α
font␈α
mapping␈α
table␈α
in␈α
POX).
␈↓ α_␈βλ.␈↓βLater␈α
in␈α
this␈α
writeup,␈α
in␈α
a␈α
required-source␈α
file,␈α
the␈α
following␈α
load-font␈α
commands␈α
appear:
␈↓ ↓H␈βλL␈↓∂\M0CLAR30;\M1NGB25[1,REM];\M2NGR20[1,REM];\M3BDI25;
␈↓ ↓H␈βλj␈↓∂\M9GRK30;\MEGRKL50;\MF75224X.FNT[1,REM];
␈↓ ↓H␈β λ␈↓βOnly␈αthe␈αfonts␈α
not␈α
previously␈α
loaded␈α
are␈α
loaded␈α
now.␈α∀The␈α
rest␈α
are␈α
merely␈α
mapped␈α
to␈α
their␈α
system␈α
font
␈↓ ↓H␈β &␈↓βnumbers␈α
(assigned␈α
when␈α
first␈α
loaded)␈α
from␈α
their␈α
new␈α
user␈α
font␈α
numbers.
␈↓ α_␈β B␈↓βThis␈αparagraph␈αand␈αall␈αother␈αjustified␈αtext␈αat␈αnormal␈αmargins␈αwas␈αdone␈αby␈α
using␈↓␈α
1␈↓∂J␈↓β␈α
to␈α
enter␈α
and
␈↓ ↓H␈β `␈↓1␈↓∂.␈↓β␈α
to␈αexit␈αjustify␈αmode.␈α_(See␈αthe␈αsection␈αon␈αREGISTERS␈αfor␈αhow␈αindented␈αparagraphs␈αof␈αdescriptions
␈↓ ↓H␈β }␈↓βafter␈αeach␈αcommand␈αsyntax␈αwas␈αdone␈αby␈αthe␈↓␈α1␈↓∂j␈↓β␈αcommand.)␈α_The␈αtitle␈αon␈αthe␈αfirst␈αpage␈αis␈αin␈αcenterify
␈↓ ↓H␈β
≤␈↓βmode,␈αusing␈↓␈α1␈↓∂C␈↓β␈αto␈αenter␈αand␈↓¬␈α<CR><LF>␈↓β␈αto␈αexit.␈α_(The␈αtitles␈αon␈αother␈αpages␈αare␈αdone␈αby␈αoverlays,␈αwhich
␈↓ ↓H␈β
<␈↓βare␈α
also␈α
explained␈α
later␈α
in␈α
this␈α
writeup.)
␈↓ α_␈β
x␈↓βHere␈α
are␈α
some␈α
further␈α
examples␈α
of␈α
the␈α
above␈α
commands:
␈↓ ↓H␈β⊗␈↓∂$F1This line $F2is in $F3several fonts. $f1Temp $f1font $f1selects
␈↓ ↓H␈β/␈↓This line ␈↓αis in ␈↓βseveral fonts. ␈↓T␈↓βemp ␈↓f␈↓βont ␈↓s␈↓βelects
␈↓ ↓H␈βp␈↓∂$F5$CThis line has antidisestablishmentarianismfoogarplylongwordthatis$N
␈↓ ↓H␈β∞␈↓∂allinthesinglewordininthemiddleofthislineofcenteredtext as you see.
␈↓ ↓e␈β0␈↓¬This line has antidisestablishmentarianismfoogarplylongwordthatisallinthesinglewordininthemiddleofthislineofcenteredtext as you see.
␈↓ ↓H␈βh␈↓∂$F3Hello there.$RWell, hello to you too$;
␈↓ ↓H␈β
ε␈↓∂$C(Middle on same line)
␈↓ ↓H␈β
$␈↓βHello there.␈↓ ZWell, hello to you too␈↓ ¬S(Middle on same line)
␈↓ ↓H␈β
`␈↓∂$F3Left part $f1$CThis didn't get centered, see next example for fix
␈↓ ↓H␈β
y␈↓βLeft part ␈↓$␈↓βCThis didn't get centered, see next example for fix
␈↓ ↓H␈β∞:␈↓∂$F3Left part $C$f1This got centered ok.
␈↓ ↓H␈β∞S␈↓βLeft part ␈↓␈↓ ¬PT␈↓βhis got centered ok.
␈↓ ↓H␈β∂∀␈↓∂$F3For the same reason $f1$'14; doesn't do what you would want.
␈↓ ↓H␈β∂-␈↓βFor the same reason ␈↓$␈↓β'14; doesn't do what you would want.
␈↓ ∃␈↓α 5␈↓ βx␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∃␈↓α 6␈↓ βx␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ↓H␈β↓f␈↓∂$F3But in this case some commands discussed later, $#$F1$'14;$G, do the trick.
␈↓ ↓H␈β↓␈␈↓βBut in this case some commands discussed later, ␈↓␈␈↓β, do the trick.
␈↓ ε∧␈βα;␈↓SIMULATOR
␈↓ α_␈βα↑␈↓βThe␈α"linefeed␈αsimulator"␈αis␈αa␈αpost-processor␈αfor␈αall␈αtext␈αemitted␈αby␈αthe␈αordinary␈αmode␈αscanners
␈↓ ↓H␈βαz␈↓β(U␈α
J␈α
or␈α
CR).␈α~To␈α
enable␈α
the␈α
linefeed␈α
simulator,␈α
use␈α
the␈↓␈α
1␈↓∂⊂'4;␈↓β␈α
command␈α
(see␈α
the␈α
section␈α
on␈αenabling
␈↓ ↓H␈ββ~␈↓βspecial␈α
features).
␈↓ α_␈ββ8␈↓βThe␈α⊂original␈α⊂function␈α⊂of␈α⊂the␈α⊂simulator␈α⊂was␈α∂to␈α∂simulate␈α∂the␈α∂the␈α∂way␈α∂XGPSER␈α∂(the␈α∂part␈α∂of␈α∂the
␈↓ ↓H␈ββV␈↓βsystem␈α∂that␈α∂services␈α∂the␈α∂XGP,␈α∂in␈α∂particular␈α∂"XGP␈α∂character␈α∂mode"␈α∂as␈α∂described␈α∂in␈α∂the␈α∞UUO␈α∞manual)
␈↓ ↓H␈ββt␈↓βwould␈α∀handle␈α∪linefeeds␈α∪emitted␈α∪by␈α∪POX,␈α∪i.e.␈α∪the␈α∪simulator␈α∪replaces␈α∪each␈α∪linefeed␈α∪by␈α∪an␈α∪explicit
␈↓ ↓H␈β∧∩␈↓βvertical-position-select␈α∞that␈α∞is␈α∞equivalent␈α∞to␈α∞what␈α∞XGPSER␈α
would␈α
have␈α
done␈α
if␈α
the␈α
linefeed␈α
had␈α
been
␈↓ ↓H␈β∧0␈↓βemitted␈α∂directly␈α∂into␈α∂the␈α∂output␈α∂file.␈α≡That␈α∂makes␈α∂it␈α∂possible␈α∂for␈α∂POX␈α∂to␈α∂sort␈α∞vectors␈α∞and␈α∞text␈α∞into
␈↓ ↓H␈β∧N␈↓βcorrect␈α∂sequence␈α∂according␈α∂to␈α∂vertical␈α∂position␈α∂on␈α∂the␈α∂page␈α∂before␈α∞outputting␈α∞them␈α∞(XGP␈α∞character
␈↓ ↓H␈β∧l␈↓βmode␈αrequires␈αthis),␈αto␈αknow␈αwhen␈αbottom␈αof␈αpage␈αis␈αreached␈αand␈αa␈αnew␈αpage␈αis␈αstarted␈α(so␈αthat␈αPOX
␈↓ ↓H␈β¬
␈↓βcan␈αkeep␈αtrack␈αof␈αpage␈αnumbers␈αcorrectly,␈αor␈αwarn␈αthe␈αuser␈αif␈αa␈αpage␈αbecomes␈αfull␈αunexpectedly),␈αand
␈↓ ↓H␈β¬(␈↓βso␈α⊃that␈α⊃uniform␈α⊃baseline␈α⊃spacing␈α⊂can␈α⊂be␈α⊂obtained␈α⊂regardless␈α⊂of␈α⊂varying␈α⊂sizes␈α⊂of␈α⊂superscripts␈α⊂and
␈↓ ↓H␈β¬F␈↓βsubscripts.␈α≤More␈α∞recently␈α∞(1976␈α∞July␈α∞to␈α
Sept.)␈α
the␈α
simulator␈α
was␈α
enhanced␈α
to␈α
optimize␈α
font-selects,
␈↓ ↓H␈β¬d␈↓βcolumn-adjusts,␈α∪and␈α∪baseline-adjusts,␈α∪i.e.␈α∪to␈α∪eliminate␈α∪all␈α∪redundant␈α∪operations,␈α∪and␈α∪to␈α∩implement
␈↓ ↓H␈βε␈↓βgiant-baseline-offset,␈αi.e.␈αwhen␈αa␈↓␈α1␈↓∂↑␈↓β,␈↓␈α1␈↓∂↓␈↓β␈αor␈↓␈α1␈↓∂→,␈↓β␈αcommand␈αis␈αgiven␈αwith␈αan␈αargument␈αout␈αof␈αthe␈αrange
␈↓ ↓H␈βε ␈↓βof␈α
-100␈α
to␈α
+77␈α
(octal)␈α
the␈α
baseline-specification␈α
is␈α
expanded␈α
into␈α
enough␈α
relative-baseline-offsets␈αto
␈↓ ↓H␈βε>␈↓βaccomplish␈α
the␈α
desired␈α
effect.
␈↓ α_␈βε\␈↓βMany␈α
of␈α
the␈α
commands␈α
below␈α
require␈α
the␈α
simulator␈α
if␈α
they␈α
are␈α
to␈α
work␈α
in␈α
full␈α
generality␈α
or␈α
at␈α
all.
␈↓ ελ␈βπ∪␈↓REGISTERS
␈↓ α_␈βπ)␈↓βThere␈α∩are␈α∩2␈↓#
7␈↓#=128␈α∩registers␈α∩which␈α∩can␈α∩hold␈α∩any␈α∩36-bit␈α∩integer␈α∩(PDP-10␈α∩two's␈α∩complement
␈↓ ↓H␈βπT␈↓βformat),␈α
such␈α
as␈α
the␈α
horizontal␈α
coordinate␈α
of␈α
some␈α
column␈α
on␈α
the␈α
page.␈α_(␈↓αNote␈↓β␈α--␈αall␈αlocations␈αon␈αthe
␈↓ ↓H␈βπr␈↓βXGP,␈αwhether␈αrelative␈αor␈αabsolute,␈αare␈αmeasured␈αin␈αXGP␈αpixels␈αwhich␈αare␈αabout␈α5␈α
mils,␈α
i.e.␈α∀1/200␈α
inch)
␈↓ ↓H␈βλ⊂␈↓βThe␈α∞idea␈α∞is␈α∞to␈α∞allow␈α∞specification␈α∞of␈α
multi-column␈α
tables␈α
and␈↓α␈α
superscripts-above-subscripts␈↓β␈α
in␈α
an␈α
easy
␈↓ ↓H␈βλ.␈↓βand␈α
flexible␈α
way,␈α
including␈α
automatic␈α
allocation␈α
of␈α
such␈α
things␈α
as␈α
"␈↓α1/5␈α
of␈α
a␈α
page␈↓β"␈α
by␈α
simple␈α
division,
␈↓ ↓H␈βλL␈↓βand␈α⊂to␈α∂perform␈α∂any␈α∂other␈α∂integer␈α∂arithmetic␈α∂or␈α∂logic␈α∂that␈α∂might␈α∂be␈α∂useful␈α∂during␈α∂compilations␈α∂of␈α∂a
␈↓ ↓H␈βλj␈↓βdocument.␈α Each␈α⊂register␈α∂is␈α∂specified␈α∂by␈α∂an␈α∂ASCII␈α∂character.␈α∂(␈↓αNote␈↓β␈α∂--␈α∂in␈α∂general,␈α∂POX␈α∂distinguishes
␈↓ ↓H␈β λ␈↓βbetween␈α⊂upper-␈α⊂and␈α⊂lower-case␈α⊂characters␈α⊂--␈α⊂for␈α⊂example,␈α⊂"␈↓∂k␈↓β"␈α⊂and␈α⊂"␈↓∂K␈↓β"␈α⊂do␈α⊂not␈α∂refer␈α∂to␈α∂the␈α∂same
␈↓ ↓H␈β &␈↓βregister.)␈α⊗One␈αof␈αthe␈αnon-alphanumeric␈αregisters␈α(currently␈αregister␈↓∂␈α∀␈↓β)␈α
is␈α
called␈α
the␈α
"␈↓αaccumulator␈↓β"␈α
and
␈↓ ↓H␈β D␈↓βis␈α∞the␈α∞intermediate␈α∞storage␈α∞for␈α
most␈α
sequences␈α
of␈α
arithmetic␈α
calculation.␈α~Other␈α
special␈α
registers␈α
are
␈↓ ↓H␈β b␈↓βlisted␈α
below,␈α
as␈α
well␈α
as␈α
characters␈α
that␈α
don't␈α
specify␈α
registers␈α
at␈α
all.␈α→(␈↓αWarning␈↓β␈α--␈αnon-alphanumeric
␈↓ ↓H␈β
␈↓βregister␈α∂names␈α∂are␈α∞liable␈α∞to␈α∞be␈α∞changed␈α∞to␈α∞special␈α∞arguments␈α∞like␈α∞"."␈α∞and␈α∞","␈α∞without␈α∞much␈α∞warning.
␈↓ ↓H␈β
≡␈↓βTherefore,␈α
please␈α
use␈α
only␈α
alphanumeric␈α
register␈α
names␈α
in␈α
files␈α
that␈α
you␈α
will␈α
be␈α
unwilling␈α
to␈α
maintain.)
␈↓ ↓H␈β
U␈↓Meaning of argument(s) to the commands:
␈↓ ↓H␈β
x␈↓¬<CH>␈↓β␈↓ β"If␈α
not␈α
mentionned␈α
below,␈α
contents␈α
of␈α
register␈α
corresponding␈α
to␈α
that␈α
character.
␈↓ ↓H␈β⊗␈↓∂. ␈↓β(period) ␈↓ β"Current␈α⊂column␈α∂location␈α∂(increases␈α∂as␈α∂you␈α∂move␈α∂to␈α∂the␈α∂right)␈α∂is␈α∂stored␈α∂in␈α∂the
␈↓ β"␈β4␈↓βright␈α⊂half␈α⊂of␈α⊂this␈α⊂register.␈α∨Every␈α∂time␈α∂a␈α∂character␈α∂is␈α∂written,␈α∂this␈α∂register␈α∂is
␈↓ β"␈βR␈↓βupdated␈α
to␈α
account␈α
for␈α
the␈α
space␈αused␈αup␈αby␈αthe␈αcharacter,␈αand␈αif␈αyou␈αwrite␈αin
␈↓ β"␈βp␈↓βthis␈α
register,␈α
a␈α
column␈α
select␈α
will␈α
be␈αgenerated␈αin␈αyour␈αoutput␈αfile␈αto␈αreally␈αput
␈↓ β"␈β∞␈↓βyou␈α∂there.␈α≡(U)␈α∂In␈α∂pass-as-is␈α∂mode,␈α∂this␈α∂column␈α∂location␈α∂is␈α∂relative␈α∂to␈α∂the␈α∞left
␈↓ β"␈β,␈↓βedge␈α∞of␈α∞the␈α∞paper␈α
and␈α
should␈α
be␈α
in␈α
the␈α
range␈α
of␈α
50␈α
to␈α
1650␈α
(decimal)␈α
usually.
␈↓ β"␈βJ␈↓βThe␈αleft␈αhalf␈αof␈αthis␈αregister␈αis␈αzero␈αin␈αthis␈αcase.␈α∃(J)␈α
In␈α
justify␈α
mode,␈α
it␈α
is␈α
relative
␈↓ β"␈βh␈↓βto␈α∩the␈α∩beginning␈α∩of␈α∩the␈α∩current␈α∩word␈α⊃of␈α⊃text␈α⊃(delimited␈α⊃by␈↓¬␈α⊃<SP>␈↓β␈α⊃or␈↓¬␈α⊃<TB>␈↓β␈α⊃or
␈↓ β"␈β
ε␈↓¬<CR><LF>␈↓β␈α∩except␈α∩that␈↓¬␈α∩<SP>␈↓β␈α∩does␈α∩not␈α∩delimit␈α∩if␈α∩it␈α∩is␈α∩not␈α∩on␈α∩the␈α∩baseline).␈α#A
␈↓ β"␈β
$␈↓βrelocation␈αidentifier␈αis␈αin␈αthe␈αleft␈αhalf␈αof␈αthe␈αregister␈αto␈αallow␈αchecking␈αfor␈αillegal
␈↓ β"␈β
B␈↓βcolumn␈α
selects.␈α
(CR)␈α
In␈α
centerify/rightify␈α
mode,␈α
it␈α
is␈α
relative␈αto␈αthe␈αbeginning␈αof
␈↓ β"␈β
`␈↓βthe␈α
centered/rightified␈α
text␈α
with␈α
a␈α
password␈α
in␈α
the␈αleft␈αhalf␈αas␈αif␈αthe␈αtext␈αwere
␈↓ β"␈β
}␈↓βone␈α⊃big␈α⊃word.␈α"(o)␈α⊃In␈α⊃define␈α⊃atomic␈α⊃text␈α⊃overlay␈α⊃mode,␈α⊃the␈α⊂right␈α⊂half␈α⊂is␈α⊂the
␈↓ β"␈β∞≤␈↓βlocation␈α⊂relative␈α∂to␈α∂the␈α∂basepoint␈α∂of␈α∂the␈α∂overlay,␈α∂usually␈α∂the␈α∂left␈α∂edge␈α∂of␈α∂the
␈↓ β"␈β∞:␈↓βoverlay.␈α~--␈α
In␈α
arguments␈α
to␈αmacros,␈αit␈αis␈αnot␈αimplemented␈αalthough␈αyou␈αare␈αnot
␈↓ β"␈β∞X␈↓βprevented␈αfrom␈αtotally␈αscrewing␈αyourself␈αby␈α
the␈α
attempt␈α
to␈α
store␈α
in␈α
this␈α
register,
␈↓ β"␈β∞v␈↓βor␈α
getting␈α
worthless␈α
undocumented␈α
data␈α
by␈α
reading␈α
from␈α
this␈α
register.
␈↓ ↓H␈β∂∀␈↓∂, ␈↓β(comma) ␈↓ β"This␈αregister␈αworks␈αsomewhat␈αlike␈αperiod,␈αcurrent␈αrelative␈αposition␈αof␈αtext␈αabove
␈↓ β"␈β∂*␈↓βbaseline␈α(if␈αnegative,␈α
below␈α
baseline)␈α
--␈α
thus␈↓␈α
1␈↓∂←␈↓εq␈↓1␈↓∂→,␈↓β␈α
replaces␈↓␈α
1␈↓∂↑␈↓εq␈↓β␈α
and␈↓␈α
1␈↓∂↓␈↓εq␈↓β'␈α
as
␈↓ ∃␈↓α 6␈↓ βx␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∃␈↓α 7␈↓ βx␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ β"␈β↓H␈↓βwell␈α∞as␈↓␈α∞1␈↓∂∩␈↓β␈α∞and␈↓␈α∞1␈↓∂∪␈↓β.␈α∞(U␈α∞J␈α
CR)␈α
See␈α
the␈α
note␈α
after␈α
the␈↓␈α
1␈↓∂↑␈↓β␈α
and␈↓␈α
1␈↓∂↓␈↓β␈α
commands,␈α
for
␈↓ β"␈β↓h␈↓βlegal␈α
range␈α
of␈α
value␈α
stored␈α
in␈α
register␈↓∂␈α
,␈↓β.
␈↓ ↓H␈βαε␈↓∂; ␈↓β(semicolon)␈↓ β"Like␈α"."␈αor␈α","␈α--␈αabsolute␈αposition␈α(below␈αtop␈αof␈α
page)␈α
of␈α
the␈α
last␈α
scan␈α
line␈α
of␈α
the
␈↓ β"␈βα$␈↓βlast␈α
text␈α
line␈α
previously␈α
printed,␈α
or␈α
zero␈α
if␈α
this␈α
is␈α
explicitly␈α
the␈α
first␈α
thing␈αon␈αa
␈↓ β"␈βαB␈↓βpage.␈α⊗Note␈αthat␈αif␈αthe␈αcurrent␈αline␈αwon't␈αfit␈αon␈αa␈αpage␈αand␈αwill␈αget␈αmoved␈αto␈α
the
␈↓ β"␈βα`␈↓βnext␈αpage␈αautomatically,␈αthe␈αnext-page␈αdecision␈αwon't␈α
have␈α
been␈α
made␈α
until␈α
after
␈↓ β"␈βα}␈↓βprocessing␈αof␈αthis␈αline␈αis␈αdone,␈αso␈αthat␈αregister␈α;␈α
will␈α
still␈α
indicate␈α
the␈α
location␈α
(on
␈↓ β"␈ββ≤␈↓βthe␈αprevious␈αpage)␈αof␈α
the␈α
previous␈α
line,␈α
instead␈α
of␈α
zero.␈α∀(Register␈α
;␈α
only␈α
contains
␈↓ β"␈ββ8␈↓βthis␈α
information␈α
if␈α
this␈α
feature␈α
is␈α
enabled.␈α∀See␈α
note␈α
4␈α
and␈α
the␈↓␈α
1␈↓∂⊂␈↓β␈α
command.)
␈↓ ↓H␈ββX␈↓∂L␈↓β␈↓ β"Left␈αmargin␈αis␈αstored␈αin␈αthis␈αregister␈α(<CR>␈αcauses␈α
column␈α
select␈α
here␈α
--␈α
see␈α
also
␈↓ β"␈ββt␈↓1␈↓∂J␈↓␈α
1␈↓∂C␈↓␈α
1␈↓∂R␈↓␈α
1␈↓∂O␈↓␈α
1␈↓∂W␈↓β).
␈↓ ↓H␈β∧∀␈↓∂R␈↓β␈↓ β"Right␈αmargin␈α(for␈αJ␈αand␈αCR␈αmodes,␈αand␈αfor␈αwarning␈αyou␈α
if␈α
you␈α
try␈α
to␈α
write␈α
past␈α
it
␈↓ β"␈β∧2␈↓βin␈α
pass-as-is␈α
mode)␈α
is␈α
stored␈α
in␈α
this␈α
register.
␈↓ ↓H␈β∧N␈↓β(Note, top and bottom margins are handled differently, see the ␈↓1␈↓∂T␈↓β, ␈↓1␈↓∂t␈↓β, ␈↓1␈↓∂B␈↓β, and ␈↓1␈↓∂b␈↓β commands.)
␈↓ ↓H␈β¬␈↓∂'␈↓¬<SIGNED OR UNSIGNED OCTAL NUMBER>␈↓∂;
␈↓ β"␈β¬*␈↓βInstead␈αof␈αreading␈αa␈α
number␈α
from␈α
a␈α
register,␈α
these␈α
octal␈α
digits␈α
are␈α
assembled␈α
into
␈↓ β"␈β¬H␈↓βa␈α
constant␈α
and␈α
that␈α
constant␈α
acts␈α
as␈α
an␈α
immediate␈α
operand␈α
(READONLY).
␈↓ ↓H␈β¬f␈↓∂=␈↓¬<SIGNED OR UNSIGNED DECIMAL NUMBER>␈↓∂;␈↓β␈↓ ¬HSame as above except decimal conversion (READONLY).
␈↓ ↓H␈βε∧␈↓∂w␈↓¬<CH>␈↓β␈↓ β"Width␈α
of␈α
character␈↓¬␈α
<CH>␈↓β␈α
in␈α
current␈α
font␈α
(READONLY).
␈↓ ↓H␈βε ␈↓∂H␈↓β␈↓ β"Total␈α
height␈α
of␈α
current␈α
font␈α
(READONLY)␈α
(if␈α
enabled,␈α
see␈α
the␈↓␈α
1␈↓∂⊂␈↓β␈α
command).
␈↓ ↓H␈βε>␈↓∂h␈↓β␈↓ β"Height␈α∀above␈α∀baseline␈α∀of␈α∀current␈α∀font␈α∪(READONLY)␈α∪(if␈α∪enabled,␈α∪see␈α∪the␈↓␈α∪1␈↓∂⊂
␈↓ β"␈βε↑␈↓βcommand).
␈↓ α_␈βπ~␈↓βThe␈α⊃arguments␈α⊃marked␈α⊃"(READONLY)"␈α⊃above␈α⊃are␈α⊃forbidden␈α⊃in␈α⊃certain␈α⊃commands␈α⊂because␈α⊂the
␈↓ ↓H␈βπ8␈↓βcommand␈α
expects␈α
to␈α
have␈α
a␈α
genuine␈α
register␈α
to␈α
store␈α
data␈α
into.␈α~This␈αrestriction␈αwill␈αbe␈αindicated␈αby
␈↓ ↓H␈βπV␈↓β"READONLY␈α
operands␈α
not␈α
allowed"␈α
in␈α
the␈α
command␈α
descriptions.
␈↓ α_␈βπt␈↓βThroughout␈αthe␈αremainder␈αof␈αthis␈αwriteup,␈α
command-arguments␈α
that␈α
that␈α
are␈α
parsed␈α
in␈α
the␈α
above
␈↓ ↓H␈βλ∩␈↓βway␈α∂will␈α∂be␈α∂denoted␈α∂by␈α∂various␈α∂alphanumeric␈α∂characters␈α∂in␈α∞a␈α∞special␈α∞font,␈α∞to␈α∞distinguish␈α∞them␈α∞from
␈↓ ↓H␈βλ0␈↓βcharacters␈α∞that␈α∞you␈α∞are␈α∞supposed␈α∞to␈α∞actually␈α
type␈α
(which␈α
are␈α
in␈α
a␈α
keyboard-style␈α
font␈α
as␈α
described
␈↓ ↓H␈βλN␈↓βearlier),␈αand␈αBNF-style␈αsyntactical␈αentities␈α(which␈αare␈αin␈αyet␈αanother␈αfont␈αas␈αalso␈αshown␈αearlier).␈α⊗Here
␈↓ ↓H␈βλl␈↓βare␈α
what␈α
the␈α
alphanumerics␈α
look␈α
like␈α
in␈α
the␈α
argument␈α
font:
␈↓ ↓H␈β α␈↓εabcdefghijklmnopqrstuvwxyz
␈↓ ↓H␈β A␈↓The commands that use the types of arguments described above:
␈↓ ∧;␈β
α␈↓βLOAD/STORE/ARITHMETIC/LOGIC OPERATIONS
␈↓ ↓H␈β
_␈↓1␈↓∂←␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
load␈α
ac␈α
from␈↓ε␈α
q␈↓β.
␈↓ ↓H␈β
6␈↓1␈↓∂→␈↓εq␈↓β␈↓ ββ(U␈α⊂J␈α⊂CR␈α⊂o␈α⊂A)␈α⊂--␈α∂store␈α∂contents␈α∂of␈α∂ac␈α∂into␈↓ε␈α∂q␈↓β,␈α∂READONLY␈α∂operands␈α∂not
␈↓ ββ␈β
\␈↓βallowed.␈α⊗WARNING␈α--␈αDo␈αnot␈αstore␈αin␈αregisters␈α"."␈α","␈αor␈α";"␈α
except␈α
where
␈↓ ββ␈β
z␈↓βlegal.␈α∀POX␈α
will␈α
get␈α
confused␈α
if␈α
you␈α
do.␈α∀See␈α
argument␈α
description␈α
above.
␈↓ ↓H␈β⊂␈↓1␈↓∂+␈↓εq␈↓∂ ␈↓1␈↓∂-␈↓εq
␈↓ ↓H␈β.␈↓1␈↓∂*␈↓εq␈↓∂ ␈↓1␈↓∂/␈↓εq␈↓β␈↓ ββ(U␈α⊃J␈α⊃CR␈α⊃o␈α⊃A)␈α⊃--␈α⊃usual␈α⊃arithmetic␈α⊃--␈α⊂ac␈α⊂plus/minus/times/dividedby␈↓ε␈α⊂q␈↓β,
␈↓ ββ␈βT␈↓βresult␈α
in␈α
ac.
␈↓ ↓H␈βj␈↓1␈↓∂%␈↓εq␈↓β␈↓ ββ(U␈αJ␈αCR␈αo␈αA)␈α--␈α"modulo"␈α--␈αac␈αdivided␈αby␈↓ε␈αq␈↓β,␈αremainder␈αin␈αac.␈α--␈αif␈αthe␈α
ac
␈↓ ββ␈βλ␈↓βis␈α⊃nonnegative␈α⊃and␈↓ε␈α⊂q␈↓β␈α⊂is␈α⊂positive,␈α⊂this␈α⊂corresponds␈α⊂to␈α⊂reducing␈α⊂the␈α⊂ac
␈↓ ββ␈β&␈↓βmodulo␈↓ε␈α≤q␈↓β␈α≤(number␈α≤theory),␈α≤otherwise␈α≠the␈α≠result␈α≠is␈α≠nonstandard
␈↓ ββ␈βL␈↓βmathematically,␈α
and␈α
indeed␈α
machine-dependent.
␈↓ ↓H␈βb␈↓1␈↓∂¬␈↓εq␈↓∂ ␈↓1␈↓∂\␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
reverse␈α
arithmetic␈α
--␈↓ε␈α
q␈↓β␈α
minus/dividedby␈α
ac,␈α
result␈α
in␈α
ac.
␈↓ α&␈β
ε␈↓¬[Note -- since -1 is stored in the PDP-10 as all-ones, the POX command ␈↓1␈↓∂¬'-1;␈↓¬ will logically complement the ac.]
␈↓ ↓H␈β
≡␈↓1␈↓∂∧␈↓εq␈↓∂ ␈↓1␈↓∂∨␈↓εq␈↓∂ ␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
usual␈α
logical␈α
operations␈α
--␈α
ac␈α
and/or␈↓ε␈α
q␈↓β,␈α
result␈α
in␈α
ac.
␈↓ ↓H␈β
<␈↓1␈↓∂L␈↓εq␈↓β␈↓ ββ(U␈αJ␈αCR␈αo␈αA)␈α--␈αlogical␈αshift␈αof␈αac␈αleft␈αby␈↓ε␈αq␈↓β␈αbits␈α(if␈↓ε␈αq␈↓β<0␈αthen␈αshift␈αright),
␈↓ ββ␈β
b␈↓βresult␈α
in␈α
ac.
␈↓ ↓H␈β
x␈↓1␈↓∂~␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
maximum␈α
of␈α
ac␈α
and␈↓ε␈α
q␈↓β,␈α
result␈α
in␈α
ac.
␈↓ ↓H␈β∞⊗␈↓1␈↓∂_␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
minimum␈α
of␈α
ac␈α
and␈↓ε␈α
q␈↓β,␈α
result␈α
in␈α
ac.
␈↓ ∧k␈β∞Z␈↓βSUBSCRIPT/SUPERSCRIPT COMMANDS
␈↓ ↓H␈β∞p␈↓1␈↓∂↑␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o)␈α
--␈α
move␈α
text␈α
up␈↓ε␈α
q␈↓β␈α
with␈α
respect␈α
to␈α
the␈α
baseline.
␈↓ ↓H␈β∂∞␈↓1␈↓∂↓␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o)␈α
--␈α
move␈α
text␈α
down␈↓ε␈α
q␈↓β␈α
with␈α
respect␈α
to␈α
the␈α
baseline.
␈↓ α_␈β∂4␈↓βWith␈α⊂simulator␈α⊂on␈α⊂there␈α∂is␈α∂no␈α∂limit␈α∂imposed␈α∂by␈α∂POX␈α∂or␈α∂XGPSER␈α∂as␈α∂to␈α∂how␈α∂large␈α∂(positive␈α∂or
␈↓ ∃␈↓α 7␈↓ βx␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∃␈↓α 8␈↓ βx␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ↓H␈β↓H␈↓βnegative)␈α∂the␈α∂baseline␈α∂offset␈α∂can␈α∂be,␈α∂except␈α∞that␈α∞each␈α∞line␈α∞of␈α∞text␈α∞must␈α∞fit␈α∞entirely␈α∞on␈α∞a␈α∞page,␈α∞and
␈↓ ↓H␈β↓f␈↓βthings␈α
that␈α
are␈α
too␈α
complicated␈αwon't␈αwork,␈αespecially␈αif␈αthe␈αsystem␈αis␈αloaded.␈α_Without␈αthe␈αsimulator,
␈↓ ↓H␈βα∧␈↓βPOX␈α∂makes␈α∞sure␈α∞the␈α∞XGPSER␈α∞range␈α∞of␈α∞-100␈α∞to␈α∞+77␈α∞(octal)␈α∞isn't␈α∞exceeded.␈α≤This␈α∞note␈α∞applies␈α∞to␈α∞the
␈↓ ↓H␈βα ␈↓βvalue␈α⊃stored␈α⊃in␈α⊃register␈↓∂␈α⊃,␈↓β␈α⊃as␈α⊃well␈α⊃as␈α⊃the␈α⊃argument␈α⊃to␈α⊃the␈↓␈α⊂1␈↓∂↑␈↓β␈α⊂command␈α⊂and␈α⊂the␈α⊂negative␈α⊂of␈α⊂the
␈↓ ↓H␈βα>␈↓βargument␈α
to␈α
the␈↓␈α
1␈↓∂↓␈↓β␈α
command.
␈↓ ↓H␈βα\␈↓1␈↓∂∩␈↓β␈↓ ββ(U␈α∞J␈α∞CR␈α∞o)␈α∞--␈α∞up␈α∞to␈α∞default␈α∞superscript␈α∞location␈α∞(a␈α∞fixed␈α∞portion␈α∞of␈α∞the
␈↓ ββ␈βα|␈↓βheight␈αof␈αcurrent␈αfont),␈αeasier␈αthan␈αstoring␈αa␈αpositive␈αconstant␈αin␈αregister
␈↓ ββ␈ββ∩␈↓β","␈α∞or␈α∞setting␈α∞up␈α∞a␈α∞positive␈α∞constant␈α∞in␈α∞some␈α∞register␈↓ε␈α∞q␈↓β␈α
and␈α
then␈α
using
␈↓ ββ␈ββ0␈↓1␈↓∂↑␈↓εq␈↓β.
␈↓ ↓H␈ββT␈↓1␈↓∂∪␈↓β␈↓ ββ(U␈α∞J␈α∞CR␈α∞o)␈α∞--␈α∞down␈α∞to␈α
default␈α
subscript␈α
location␈α
(a␈α
fixed␈α
portion␈α
of␈α
the
␈↓ ββ␈ββt␈↓βheight␈αof␈αcurrent␈αfont),␈αeasier␈αthan␈αstoring␈αa␈αnegative␈αnumber␈αin␈αregister
␈↓ ββ␈β∧
␈↓β","␈α∞or␈α∞setting␈α∞up␈α∞a␈α∞positive␈α∞constant␈α∞in␈α∞some␈α∞register␈↓ε␈α∞q␈↓β␈α
and␈α
then␈α
using
␈↓ ββ␈β∧(␈↓1␈↓∂↓␈↓εq␈↓β.
␈↓ ↓H␈β∧L␈↓1␈↓∂⊗␈↓β␈↓ ββ(U␈αJ␈αCR␈αo)␈α--␈αback␈αto␈αnormal␈αbaseline␈αfrom␈α
superscript␈α
or␈α
subscript,␈α
don't
␈↓ ββ␈β∧j␈↓βforget␈α
this!␈α
--␈α
easier␈α
than␈↓␈α
1␈↓∂↑=0;␈↓β␈α
or␈↓␈α
1␈↓∂↓=0;␈↓β␈α
or␈↓␈α
1␈↓∂←=0;␈↓1␈↓∂→,
␈↓ ¬≡␈β¬(␈↓βUNDERLINE OR FRACTION BAR
␈↓ α_␈β¬>␈↓βNote,␈αthe␈αposition␈αof␈αan␈αunderline␈α(including␈αall␈αscan-lines␈αof␈αthe␈↓␈α
1␈↓∂U␈↓εlatr␈↓β␈α
command)␈α
is␈α
restricted
␈↓ ↓H␈β¬d␈↓βto␈αa␈αrange␈αof␈α-100␈αto␈α+77␈α(octal).␈α⊗The␈αuser␈αwho␈αwants␈αfraction␈αbars␈αetc.␈αoutside␈αof␈αthat␈αrange␈αhas␈αat
␈↓ ↓H␈βεα␈↓βpresent␈α
only␈α
option,␈α
use␈α
the␈α
macros␈α
of␈α
H.␈α
P.␈αMoravec␈αwhich␈αsimulate␈αunderlines␈αby␈αpatching␈αtogether
␈↓ ↓H␈βε ␈↓βthe␈αappropriate␈αnumber␈αof␈αgraphics␈αfont␈αcharacters␈αend␈αto␈αend.␈α⊗At␈αsome␈αfuture␈αtime␈αit␈αis␈αconceivable
␈↓ ↓H␈βε>␈↓βthat␈α
POX␈αcould␈αconvert␈αunderlines␈αinto␈αvectors,␈αplaced␈αappropriately␈αon␈αthe␈αpage␈αto␈αhave␈αthe␈αdesired
␈↓ ↓H␈βε\␈↓βeffect.␈α((This␈α∀proposed␈α∀feature␈α∀would␈α∀be␈α∀yet␈α∀another␈α∀miracle␈α∀of␈α∀the␈α∀"simulator",␈α∀not␈α∪available
␈↓ ↓H␈βεz␈↓βotherwise.)
␈↓ ↓H␈βπ⊂␈↓1␈↓∂U␈↓εlatr␈↓β␈↓ ββ(U␈α⊃J␈α⊃CR␈α⊃o)␈α⊃--␈α⊃underline␈α⊃from␈α⊃column␈↓ε␈α⊃l␈↓β␈α⊃to␈α⊃column␈↓ε␈α⊃r␈↓β,␈α⊃on␈α⊃scan␈α⊃line␈↓ε␈α⊂a
␈↓ ββ␈βπ.␈↓βrelative␈α∀to␈α∀the␈α∀baseline␈α∀(␈↓εa␈↓β>0␈α∀moves␈α∀the␈α∀underline␈α∀down),␈α∀with␈α∪line
␈↓ ββ␈βπL␈↓βthickness␈↓ε␈α⊃t␈↓β␈α⊃(extending␈α⊃downward␈α⊃from␈α⊃scan␈α⊃line␈↓ε␈α⊃a␈↓β␈α⊃if␈↓ε␈α⊃t␈↓β>1).␈α"See␈α⊂the
␈↓ ββ␈βπr␈↓βexample␈α∪at␈α∪the␈α∪end␈α∪of␈α∪these␈α∪commands.␈α&NOTE␈α∪--␈α∪This␈α∪command␈α∪is
␈↓ ββ␈βλλ␈↓βinefficient␈α2(when␈↓ε␈α2t␈↓β>1)␈α2because␈α1XGPSER␈α1doesn't␈α1support
␈↓ ββ␈βλ.␈↓βmore-than-one-scanline␈α∂underscores␈α∞and␈α∞hence␈α∞POX␈α∞must␈α∞break␈α∞up␈α∞this
␈↓ ββ␈βλL␈↓βcommand␈α∩into␈α∩one␈α∩XGP␈α∩underscore␈α⊃per␈α⊃scan␈α⊃line,␈α⊃with␈α⊃column-selects
␈↓ ββ␈βλj␈↓βbetween␈α
each.
␈↓ ↓H␈β ε␈↓1␈↓∂{␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o)␈α
--␈α
start␈α
underline,␈α
see␈α
UUO␈α
manual␈α
under␈α
XGP␈α
service.
␈↓ ↓H␈β ≡␈↓1␈↓∂}␈↓εat␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o)␈α--␈αin␈αconjunction␈αwith␈↓␈α1␈↓∂{␈↓β,␈αend␈αunderline,␈αon␈αscan␈αline␈↓ε␈αa␈↓β␈αwith
␈↓ ββ␈β <␈↓βthickness␈↓ε␈α∂t␈↓β␈α∂(Note␈α∞that␈α∞this␈α∞command␈α∞isn't␈α∞correctly␈α∞implemented␈α∞in␈α∞POX
␈↓ ββ␈β a␈↓βversions␈α⊃before␈α⊃1975␈↓#↓ ␈↓#MAY␈↓#↓ ␈↓#11,␈α⊃so␈α⊃don't␈α⊂try␈α⊂to␈α⊂use␈α⊂this␈α⊂feature␈α⊂in␈α⊂old
␈↓ ββ␈β
␈↓βbackups␈α
of␈α
POX␈α
or␈α
you␈α
will␈α
get␈α
quite␈α
confused.)
␈↓ α_␈β
⊗␈↓βNote,␈αthe␈↓␈α1␈↓∂{␈↓β␈αand␈↓␈α1␈↓∂}␈↓εat␈↓β␈αcommands␈αare␈αno␈αlonger␈αrecommended,␈αbecause␈αin␈αjustify␈αmode␈αif␈αa␈αline
␈↓ ↓H␈β
<␈↓βis␈α
broken␈α
in␈α
the␈α
middle␈α
of␈α
an␈α
underlined␈α
portion␈α
of␈α
text,␈α
POX␈α
hasn't␈α
yet␈α
seen␈α
the␈α
parameters␈α
to␈α
be␈α
used
␈↓ ↓H␈β
Z␈↓βand␈αmust␈αguess␈αwhat␈αthey␈αare␈α(currently␈αPOX␈αassumes␈αthey␈αwill␈αbe␈↓∂␈α
=2;=2;␈↓β␈α
but␈α
warns␈α
the␈α
user␈α
in␈α
case
␈↓ ↓H␈β
x␈↓βhe␈α∂didn't␈α∂expect␈α∞the␈α∞line␈α∞to␈α∞be␈α∞broken␈α∞and/or␈α∞didn't␈α∞want␈α∞to␈α∞use␈α∞those␈α∞parameters).␈α≤To␈α∞avoid␈α∞this
␈↓ ↓H␈β∞␈↓βproblem,␈α
use␈α
the␈α
newer␈↓␈α
1␈↓∂[␈↓εat␈↓β␈α
and␈↓␈α
1␈↓∂]␈↓β␈α
pair␈α
of␈α
commands.
␈↓ ↓H␈β,␈↓1␈↓∂[␈↓εat␈↓β␈↓ ββ(U␈αJ␈αCR␈αo)␈α--␈αstart␈αunderline,␈α
specifying␈α
starting-scanline␈α
and␈α
thickness␈α
at
␈↓ ββ␈βR␈↓βthe␈α∂outset␈α∂so␈α∂that␈α∂the␈α∞underline␈α∞can␈α∞be␈α∞broken␈α∞across␈α∞several␈α∞lines␈α∞of
␈↓ ββ␈βp␈↓βoutput␈α
automatically␈α
(especially␈α
useful␈α
in␈α
justify␈α
mode).
␈↓ ↓H␈β␈↓1␈↓∂]␈↓β␈↓ ββ(U␈αJ␈αCR␈αo)␈α--␈αend␈αunderline␈αusing␈αparameters␈αspecified␈αin␈αthe␈αpreceeding
␈↓ ββ␈β$␈↓1␈↓∂[␈↓εat␈↓β␈α
command.
␈↓ βC␈βh␈↓βENTER SPECIAL-FORMATTING MODES WITH ALTERNATE MARGINS
␈↓ ↓H␈β
∧␈↓1␈↓∂j␈↓β ␈↓1␈↓∂r␈↓β or ␈↓1␈↓∂c␈↓β␈↓ ββ(U)␈α↔--␈α↔same␈α↔as␈↓␈α↔1␈↓∂J␈↓␈α↔1␈↓∂R␈↓β␈α↔or␈↓␈α↔1␈↓∂C␈↓β␈α⊗(respectively)␈α⊗except␈α⊗they␈α⊗set␈α⊗up
␈↓ ββ␈β
$␈↓βtemporary␈αmargins␈αfrom␈αregisters␈↓∂␈αl␈↓β␈αand␈↓∂␈αr␈↓β,␈αthen␈αrestore␈↓∂␈αL␈↓β␈αand␈↓∂␈αR␈↓β␈αto␈αtheir
␈↓ ββ␈β
B␈↓βold␈α⊂values␈α⊂upon␈α∂exit.␈α≡[Note␈α∂that␈α∂a␈↓¬␈α∂<CR>␈↓β␈α∂occurring␈α∂inside␈α∂one␈α∂of␈α∂these
␈↓ ββ␈β
↑␈↓βcommands,␈αsuch␈αas␈αwhen␈↓¬␈α<CR>␈↓β␈αon␈αinput␈αterminates␈↓␈α1␈↓∂r␈↓β␈αor␈↓␈α1␈↓∂c␈↓β,␈αwill␈αset␈αthe
␈↓ ββ␈β
}␈↓βpage␈α∞printer␈α∞at␈α∞the␈↓∂␈α∞l␈↓β␈α∞rather␈α∞than␈↓∂␈α∞L␈↓β␈α∞margin.␈α≤Thus,␈α
although␈α
only␈α
the␈↓∂␈α
r
␈↓ ββ␈β∞≤␈↓βregister␈α
needs␈α
to␈α
be␈α
loaded␈α
for␈α
the␈α
rightify␈α
per-se,␈α
the␈↓∂␈α
l␈↓β␈α
register␈αmust
␈↓ ββ␈β∞:␈↓βbe␈α_loaded␈α_to␈α_something␈α_reasonable␈α_for␈α↔it␈α↔to␈α↔terminate␈α↔with␈↓¬␈α↔<CR>
␈↓ ββ␈β∞X␈↓βcorrectly.]
␈↓ ∃␈↓α 8␈↓ βx␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∃␈↓α 9␈↓ βx␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∧∨␈β↓H␈↓βGENERATING AND QUOTING SPECIAL CHARACTERS
␈↓ ↓H␈β↓d␈↓1␈↓∂'␈↓¬<OCTAL DIGITS>␈↓∂;␈↓β␈↓ βS(U)␈α--␈α
accepts␈α
an␈α
octal␈α
value␈α
and␈α
transmits␈α
it␈α
preceded␈α
by␈α
a␈α
rubout.
␈↓ ββ␈βα∧␈↓βThis␈α
is␈α
used␈α
for␈α
printing␈α
the␈α
characters␈α
that␈α
are␈α
hidden␈α
under␈α
octal␈α
values
␈↓ ββ␈βα"␈↓β0,11,12,14,15␈α∞and␈α∞177.␈α∞WARNING␈α∞--␈α∞Octal␈α∞values␈α∞of␈α∞1␈α∞thru␈α∞4␈α∞will␈α∞cause
␈↓ ββ␈βα@␈↓βXGP-escape␈αto␈αoccur,␈αthen␈αthe␈αXGP␈αservice␈αwill␈αeat␈αone␈αor␈αmore␈αbytes␈αof
␈↓ ββ␈βα↑␈↓βwhatever␈αhappens␈αto␈αbe␈αnext␈αin␈αthe␈αoutput␈αfile.␈α⊗The␈αresult␈αis␈αthat␈αif␈αyou
␈↓ ββ␈βα|␈↓βhave␈α∞the␈α∞simulator␈α
on,␈α
or␈α
for␈α
any␈α
other␈α
reason␈α
cannot␈α
predict␈α
what␈α
the
␈↓ ββ␈ββ~␈↓βnext␈α
bytes␈α
generated␈α
will␈α
be,␈α
unpredictable␈α
things␈α
may␈αoccur.␈α_The␈αonly
␈↓ ββ␈ββ8␈↓βreason␈α∂POX␈α∂does␈α∂not␈α∂generate␈α∂an␈α∂error␈α∂is␈α∂because␈α∂Ralph␈α∂Gorin␈α∂insists
␈↓ ββ␈ββT␈↓βthat␈α∞old␈α∞files␈α∞that␈α∞do␈α∞such␈α∞things␈α∞as␈↓␈α∞1␈↓∂'3;↓↓␈↓β␈α∞(instead␈α∞of␈α
the␈α
preferable
␈↓ ββ␈ββr␈↓1␈↓∂←'201;␈↓1␈↓∂Y␈↓β)␈αwill␈αcontinue␈αto␈αwork␈αas␈αthey␈αalways␈αdid.␈α
(Note,␈α
the␈α
function
␈↓ ββ␈β∧⊂␈↓βof␈α∞this␈α∞command␈α∞is␈α∞modified␈α∞by␈α∞the␈↓␈α∞1␈↓∂⊂'1000;␈↓β␈α∞or␈↓␈α∞1␈↓∂⊂'2000;␈↓β␈α∞command.)
␈↓ ββ␈β∧.␈↓βIn␈α∞modes␈α∞other␈α∞than␈α∞U,␈α∞it␈α∞is␈α
necessary␈α
to␈α
use␈↓␈α
1␈↓∂A'␈↓¬<OCTAL␈α
DIGITS>␈↓∂;␈↓β␈α
to␈α
get
␈↓ ββ␈β∧N␈↓βthis␈α
effect,␈α
and␈α
because␈αthat␈αcommand␈αdoes␈αthe␈α"right"␈αthing␈αin␈αall␈αcases
␈↓ ββ␈β∧l␈↓βinstead␈α∀of␈α∀the␈α∀wierdnesses␈α∀discussed␈α∀above␈α∀for␈α∀this␈α∪command,␈α∪it␈α∪is
␈↓ ββ␈β¬
␈↓βpreferable␈α
even␈α
in␈α
U␈α
mode.
␈↓ ↓H␈β¬&␈↓1␈↓∂"␈↓¬<CH>␈↓β␈↓ ββ(U␈α∞[J*]␈α∞A)␈α∞--␈α∞the␈α
character␈↓¬␈α
<CH>␈↓β␈α
in␈α
the␈α
current␈α
font,␈α
preceeded␈α
by␈α
'177
␈↓ ββ␈β¬F␈↓βonly␈α∞if␈α∞necessary␈α∞to␈α∞prevent␈α∞special␈α∞things␈α∞from␈α∞happening,␈α∞guaranteed
␈↓ ββ␈β¬d␈↓βnot␈αto␈αgo␈αinto␈αXGP␈αescape␈αmode.␈α--␈αWhen␈αpassing␈αcharacter␈αto␈αargument
␈↓ ββ␈βε␈↓βto␈αmacro,␈αthe␈αcharacter␈αis␈αquoted,␈αi.e.␈αif␈αit␈αis␈αthe␈↓␈α1␈↓β␈αcharacter␈αor␈αa␈αcomma
␈↓ ββ␈βε ␈↓βor␈αa␈αnesting/quoting␈α
character␈α
nothing␈α
special␈α
happens␈α
on␈α
account␈α
of␈α
that
␈↓ ββ␈βε>␈↓β--␈α∞In␈α∞justify␈α
mode,␈α
this␈α
command␈α
is␈α
implemented␈α
only␈α
for␈α
the␈α
characters
␈↓ ββ␈βε\␈↓βthat␈α
do␈α
not␈α
require␈α
the␈α
'177␈α
prefix
␈↓ ↓H␈βεx␈↓11␈↓β␈↓ ββ(U␈α∩J␈α∩CR␈α∩A)␈α∩[no␈α∩longer␈α∩recommended,␈α∩use␈↓␈α∩1␈↓∂"␈↓1␈↓β␈α⊃instead␈α⊃(see␈α⊃previous
␈↓ ββ␈βπ_␈↓βcommand)]␈α--␈αquotes␈αthe␈αescape␈αcharacter␈α--␈αtakes␈αprecedence␈αover␈αany
␈↓ ββ␈βπ6␈↓βother␈α∂command␈α∂that␈α∂parses␈α∂the␈α∂same␈α∂due␈α∂to␈α∂coincidence␈α∞of␈α∞characters,
␈↓ ββ␈βπT␈↓βthereby␈α≡making␈α≡that␈α≡other␈α≡command␈α≥unavailable␈α≥--␈α≥Please␈α≥use
␈↓ ββ␈βπp␈↓1␈↓∂⊂'1000001;␈↓β␈α∂which␈α∂disables␈α∂this␈α∂crufty␈α∂old␈α∂undesirable␈α∂and␈α∞unneeded
␈↓ ββ␈βλ⊂␈↓βfeature,␈α
and␈α
thus␈α
unhides␈α
the␈α
other␈α
command)
␈↓ ↓H␈βλ&␈↓1␈↓∂A␈↓εq␈↓β␈↓ ββ(U␈α
[J*]␈α
A)␈α
--␈α
the␈α
seven␈α
low-order␈αbits␈αof␈↓ε␈αq␈↓β␈αare␈αassembled␈αinto␈αan␈αASCII
␈↓ ββ␈βλJ␈↓βcharacter,␈α∂and␈↓␈α∂1␈↓∂"␈↓β␈α∂is␈α∂performed␈α∂on␈α∂that␈α∂character.␈α≡Note,␈α∂although␈α∂this
␈↓ ββ␈βλj␈↓βcommand␈α⊗is␈α⊗not␈α⊗yet␈α∃implemented␈α∃inside␈α∃justify␈α∃or␈α∃centerify/rightify
␈↓ ββ␈β λ␈↓βmodes,␈αif␈αyou␈αjust␈αwant␈αto␈αgenerate␈αa␈αfunny␈αcharacter␈αyou␈αdon't␈αhave␈αon
␈↓ ββ␈β &␈↓βyour␈αterminal,␈αsuch␈αas␈αcurly␈αbrace,␈αthe␈αfollowing␈αtrick␈αmay␈αbe␈αused:␈α⊗Call
␈↓ ββ␈β D␈↓βthe␈α∞EVAL␈α∞macro␈α∞(defined␈α
in␈α
the␈α
section␈α
on␈α
macros␈α
with␈α
arguments)␈α
with
␈↓ ββ␈β `␈↓βthe␈↓␈α
1␈↓∂A␈↓β...␈α→command␈αas␈αargument,␈αfor␈αexample␈↓∂␈α\!EVAL(\A'176;);␈↓β,␈αwhich
␈↓ ββ␈β
␈↓βis␈α
legal␈αin␈αall␈αmodes.␈α_Of␈αcourse,␈αthis␈αwill␈αnot␈αhave␈αthe␈αright␈αeffect␈αif␈αthe
␈↓ ββ␈β
≡␈↓βfunny␈α
character␈α
requires␈α
a␈α
rubout␈α
preceeding␈α
it.
␈↓ ↓H␈β
4␈↓1␈↓∂D␈↓εq␈↓β␈↓ ββ(U␈αJ␈αCR␈αo␈αA)␈α--␈αconverts␈↓ε␈αq␈↓β␈αinto␈αa␈αstring␈αof␈αdecimal␈α
digits␈α
representing␈α
its
␈↓ ββ␈β
Z␈↓βvalue,␈α
like␈↓∂␈α
CVS␈↓β␈α
in␈α
SAIL.
␈↓ ¬[␈β⊗␈↓βSTACK OPERATIONS
␈↓ ↓H␈β2␈↓1␈↓∂P␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
push␈α
ac.
␈↓ ↓H␈βP␈↓1␈↓∂p␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
pop␈α
ac.
␈↓ ↓H␈βh␈↓1␈↓∂Q␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
push␈α
register␈↓ε␈α
q␈↓β.
␈↓ ↓H␈βε␈↓1␈↓∂q␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
pop␈α
to␈α
register␈↓ε␈α
q␈↓β.␈α
--␈α
READONLY␈α
operand␈α
not␈α
allowed.
␈↓ ↓H␈β*␈↓1␈↓∂#␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
push␈α
the␈α
current␈α
font␈α
number␈α
(octal␈α
0␈α
to␈α
17).
␈↓ ↓H␈βH␈↓1␈↓∂G␈↓β␈↓ ββ(U␈α⊃J␈α⊂o)␈α⊂--␈α⊂pop␈α⊂a␈α⊂number␈α⊂off␈α⊂the␈α⊂stack␈α⊂and␈α⊂use␈α⊂that␈α⊂number␈α⊂to␈α⊂do␈α⊂a
␈↓ ββ␈βf␈↓βfont-select␈α⊂like␈↓␈α⊂1␈↓∂F␈↓β...␈α --␈α⊂must␈α⊂be␈α⊂in␈α⊂the␈α⊂range␈α⊂octal␈α⊂0␈α∂to␈α∂17␈α∂to␈α∂work
␈↓ ββ␈β
ε␈↓βcorrectly␈α
--␈α
not␈α
yet␈α
fully␈α
supported.
␈↓ β]␈β
B␈↓βTEXT-MODE VECTORS (SEE ALSO ATOMIC VECTOR OVERLAY)
␈↓ ↓H␈β
]␈↓1␈↓∂V␈↓εx␈↓β␈↓#n1␈↓εy␈↓β␈↓#n1␈↓εx␈↓β␈↓#n2␈↓εy␈↓β␈↓#n2␈↓εw
␈↓ ββ␈β∞π␈↓β(U)␈α∞--␈α∞draw␈α∞a␈α∞vector␈α∞of␈↓α␈α∞HORIZONTAL␈↓β␈α∞width␈↓ε␈α∞w␈↓β␈α
between␈α
(␈↓εx␈↓β␈↓#s1␈↓#,␈↓εy␈↓β␈↓#s1␈↓#)␈α
and
␈↓ ββ␈β∞,␈↓β(␈↓εx␈↓β␈↓#s2␈↓#,␈↓εy␈↓β␈↓#s2␈↓#)␈α∃--␈α∃vectors␈α∃on␈α∃the␈α∃XGP␈α∃(at␈α∀SU-AI)␈α∀are␈α∀actually␈α∀tall␈α∀skinny
␈↓ ββ␈β∞W␈↓βparallelograms␈αwhich␈αget␈αincreasingly␈α
bad-looking␈α
as␈α
they␈α
approach␈α
being
␈↓ ββ␈β∞z␈↓βhorizontal␈α--␈αPOX␈αdoes␈αnothing␈αto␈αimprove␈αthe␈αlooks␈αof␈αdiagonal␈αvectors,
␈↓ ββ␈β∂≥␈↓βbut␈α∞exactly␈α∞horizontal␈α∞vectors␈α∞(which␈α
wouldn't␈α
work␈α
at␈α
all␈α
normally)␈α
are
␈↓ ∃␈↓α 9␈↓ βx␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 10␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ββ␈β↓H␈↓βreplaced␈α⊃by␈α⊃vertical␈α⊃vectors␈α⊃that␈α⊃are␈α⊃very␈α⊃very␈α⊃wide␈α⊃and␈α⊃very␈α⊃very
␈↓ ββ␈β↓c␈↓βshort).␈α⊗Coordinates␈αare␈αmeasured␈αin␈αusual␈αXGP␈αcoordinates.␈↓ε␈α⊗x␈↓β␈α
increases
␈↓ ββ␈βαε␈↓βfrom␈αleft␈αto␈αright,␈αwith␈↓ε␈αx␈↓β=0␈αbeing␈αthe␈αleft␈α
edge.␈↓ε␈α∀y␈↓β␈α
increases␈α
from␈α
top␈α
to
␈↓ ββ␈βα)␈↓βbottom,␈α⊂with␈↓ε␈α⊂y␈↓β=0␈α⊂being␈α⊂the␈α⊂top␈α⊂edge.␈α∨Vectors␈α∂no␈α∂longer␈α∂have␈α∂to␈α∂be
␈↓ ββ␈βαL␈↓βpresented␈α∂to␈α∞POX␈α∞with␈α∞MIN(␈↓εy␈↓β␈↓#s1␈↓#,␈↓εy␈↓β␈↓#s2␈↓#)␈α∞in␈α∞ascending␈α∞sequence␈α∞because␈α∞POX
␈↓ ββ␈βαw␈↓βnow␈α∩sorts␈α∩them␈α∩into␈α∩correct␈α∩sequence␈α∩automatically,␈α⊃but␈α⊃because␈α⊃the
␈↓ ββ␈ββ~␈↓βsystem␈α∞requires␈α
both␈α
text␈α
and␈α
vectors␈α
to␈α
be␈α
sorted␈α
correctly,␈α
you␈α
must
␈↓ ββ␈ββ=␈↓βusually␈α⊃enable␈α⊃the␈α⊃text␈α⊃linefeed␈α⊃simulator␈α⊂(see␈α⊂note␈α⊂2)␈α⊂whenever␈α⊂you
␈↓ ββ␈ββ`␈↓βwant␈α∞ordinary␈α
text␈α
to␈α
appear␈α
below␈α
any␈α
vector␈α
or␈α
overlay␈α
on␈α
the␈α
same
␈↓ ββ␈β∧β␈↓βpage.␈α_One␈αfinal␈αwarning␈αwith␈αvectors␈αis␈αnot␈αto␈αattempt␈αto␈αdo␈αanything␈αat
␈↓ ββ␈β∧&␈↓βthe␈α∞very␈α∞top␈α∞of␈α∞the␈α∞first␈α∞page␈α
of␈α
output␈α
(the␈α
system␈α
needs␈α
time␈α
to␈α
get
␈↓ ββ␈β∧I␈↓βstarted␈α
loading␈α
buffers).
␈↓ ↓H␈β∧d␈↓1␈↓∂v␈↓εx␈↓β␈↓#n1␈↓εy␈↓β␈↓#n1␈↓εx␈↓β␈↓#n2␈↓εy␈↓β␈↓#n2␈↓εt
␈↓ ββ␈β¬∞␈↓β(U)␈α
--␈α
same␈α
as␈↓␈α
1␈↓∂V␈↓εx␈↓β␈↓#n1␈↓εy␈↓β␈↓#n1␈↓εx␈↓β␈↓#n2␈↓εy␈↓β␈↓#n2␈↓εw␈↓β␈α
except␈↓ε␈α
t␈↓β␈αis␈αthickness␈αperpendicular␈αto
␈↓ ββ␈β¬9␈↓βthe␈α
direction␈α
of␈α
the␈α
vector␈α
in␈α
all␈α
cases␈α
--␈αi.e.␈αfor␈αnon-horizontal␈αvectors
␈↓ ββ␈β¬O␈↓εw␈↓β=SQRT(␈↓εt␈↓β␈↓#
2␈↓#((␈↓εx␈↓β␈↓#s1␈↓#-␈↓εx␈↓β␈↓#s2␈↓#)␈↓#
2␈↓#+(␈↓εy␈↓β␈↓#s1␈↓#-␈↓εy␈↓β␈↓#s2␈↓#)␈↓#
2␈↓#)/(␈↓εy␈↓β␈↓#s1␈↓#-␈↓εy␈↓β␈↓#s2␈↓#)␈↓#
2␈↓#),␈α?␈αwhereas␈α?␈α
exactly
␈↓ ββ␈β¬⎇␈↓βhorizontal␈αvectors␈αare␈αfixed␈αup␈αby␈αthis␈αcommand␈αthe␈αsame␈αas␈αby␈αthe␈↓␈α
1␈↓∂V␈↓β...
␈↓ ββ␈βε"␈↓βcommand␈α--␈αnote␈αthat␈αvectors␈αwhich␈αare␈α
almost␈α
but␈α
not␈α
exactly␈α
horizontal
␈↓ ββ␈βεE␈↓βstill␈α⊃come␈α⊃out␈α⊂quite␈α⊂ugly␈α⊂and␈α⊂usually␈α⊂overshoot␈α⊂their␈α⊂specified␈α⊂bottom
␈↓ ββ␈βεh␈↓βends.
␈↓ ↓H␈βπβ␈↓1␈↓∂w␈↓εx␈↓β␈↓#n1␈↓εy␈↓β␈↓#n1␈↓εx␈↓β␈↓#n2␈↓εy␈↓β␈↓#n2␈↓εt
␈↓ ββ␈βπ.␈↓β(not␈α⊃implemented␈α⊃yet)␈α⊃--␈α⊂even␈α⊂better␈α⊂looking␈α⊂vectors␈α⊂that␈α⊂won't␈α⊂ever
␈↓ ββ␈βπQ␈↓βovershoot,␈α⊃but␈α⊃because␈α⊃they␈α⊃will␈α⊂be␈α⊂composed␈α⊂of␈α⊂four␈α⊂simple␈α⊂vectors
␈↓ ββ␈βπt␈↓βeach,␈α∪they␈α∪might␈α∪overload␈α∪the␈α∪XGPSER␈α∪in␈α∪some␈α∪cases␈α∩and␈α∩not␈α∩work
␈↓ ββ␈βλ↔␈↓βcorrectly.
␈↓ ¬λ␈βλS␈↓βREDEFINE THE BRICK CHARACTER
␈↓ ↓H␈βλo␈↓1␈↓∂|␈↓¬<CH>␈↓β␈↓ ββ(U␈αJ␈αCR␈αo␈αA)␈α--␈αchanges␈αthe␈αbrick␈αcharacter␈αto␈↓¬␈α<CH>␈↓β␈α--␈αI␈αdon't␈αguarantee
␈↓ ββ␈β ∂␈↓βparsing␈αwill␈αmesh␈αwith␈αthis␈αin␈αa␈αreasonable␈α
way␈α
if␈α
you␈α
do␈α
this␈α
deep␈α
inside
␈↓ ββ␈β -␈↓βsomething␈α∪complicated␈α∪like␈α∪justify,␈α∪surrounded␈α∪nearby␈α∪by␈α∪things␈α∩that
␈↓ ββ␈β K␈↓βdepend␈α
on␈αthe␈αescape␈αcharacter␈αbeing␈αwhat␈αyou'd␈αexpect␈α--␈αnote␈αthat␈αif
␈↓ ββ␈β g␈↓βyou␈α
do␈↓␈α
1␈↓∂||␈↓β␈α
you␈α
can't␈α
later␈α
change␈α
back␈α
because␈α
then␈α
as␈α
long␈α
as␈α
"␈↓∂|␈↓β"␈αis
␈↓ ββ␈β
¬␈↓βthe␈αescape␈αcharacter,␈α"␈↓∂||␈↓β"␈αwill␈αbe␈αparsed␈αas␈α"␈↓11␈↓β"␈αrather␈αthan␈αas␈α"␈↓1␈↓∂|␈↓β...".
␈↓ ββ␈β
#␈↓β(see␈α∞the␈↓␈α∞11␈↓β␈α∞and␈↓␈α
1␈↓∂"␈↓¬<CH>␈↓β␈α
commands␈α
earlier),␈α
unless,␈α
of␈α
course,␈α
you␈α
have
␈↓ ββ␈β
A␈↓βdisabled␈α
the␈↓␈α
11␈↓β␈α
command␈α
by␈α
means␈α
of␈↓␈α
1␈↓∂⊂'1000001;␈↓β␈α
or␈α
equivalent.
␈↓ ¬¬␈β
␈␈↓βCONTROLLING INTERLINE SPACING
␈↓ ↓H␈β≠␈↓1␈↓∂λ␈↓β␈↓ ββ(U)␈α--␈αuse␈αthe␈αcontents␈αof␈αthe␈αac␈αto␈αset␈αthe␈αinterline␈αspacing,␈αthat␈αis,␈αthe
␈↓ ββ␈β;␈↓βminimum␈α∪number␈α∪of␈α∪blank␈α∪scan␈α∪lines␈α∪(1/200␈α∩inch)␈α∩between␈α∩the␈α∩very
␈↓ ββ␈βY␈↓βbottom␈αof␈αeach␈αline␈αof␈αtext␈α(including␈αsubscripts)␈αand␈αthe␈αvery␈αtop␈αof␈αthe
␈↓ ββ␈βw␈↓βnext␈α∂line␈α∂(including␈α∂superscripts).␈α≡This␈α∂parameter␈α∂has␈α∂different␈α∞effects
␈↓ ββ␈β∃␈↓βdepending␈αon␈αwhether␈αthe␈αsimulator␈αis␈αenabled.␈α⊗With␈αthe␈αsimulator␈αon,␈αif
␈↓ ββ␈β3␈↓βthis␈αparameter␈αis␈αnegative␈α
it␈α
allows␈α
overlapping,␈α
if␈α
zero␈α
it␈α
allows␈α
bumping,
␈↓ ββ␈βQ␈↓βand␈α⊃if␈α⊃positive␈α⊃it␈α⊃forces␈α⊃a␈α⊃gap,␈α⊃i.e.␈α⊃it␈α⊃is␈α⊂completely␈α⊂logical.␈α With␈α⊂the
␈↓ ββ␈βo␈↓βsimulator␈α∞off␈α∞it␈α∞doesn't␈α∞take␈α
effect␈α
until␈α
after␈α
the␈α
next␈α
text␈α
line,␈α
and␈α
its
␈↓ ββ␈β
␈↓βinterpretation␈α⊃depends␈α⊃on␈α⊃its␈α⊃sign:␈α"positive␈α⊃is␈α⊃the␈α⊃same␈α⊃as␈α⊂with␈α⊂the
␈↓ ββ␈β
+␈↓βsimulator␈αon,␈αzero␈αor␈αnegative␈αmeans␈αsystem␈αdefault␈αwhatever␈αit␈αis␈αtoday
␈↓ ββ␈β
I␈↓β(recently␈α
it␈α
has␈α
had␈α
the␈α
value␈α
4).
␈↓ ↓H␈β
e␈↓1␈↓∂ε␈↓β␈↓ ββ(U)␈α∂--␈α∂use␈α∂the␈α∂contents␈α∂of␈α∞the␈α∞ac␈α∞to␈α∞set␈α∞the␈α∞interbase␈α∞spacing,␈α∞i.e.␈α∞the
␈↓ ββ␈β∞¬␈↓βminimum␈αnumber␈αof␈αscan␈αlines␈αthat␈αbaselines␈αare␈αforced␈αapart.␈α⊗When␈αthe
␈↓ ββ␈β∞#␈↓βsimulator␈α⊗is␈α⊗on,␈α⊗this␈α⊗parameter␈α⊗together␈α⊗with␈α⊗the␈α⊗interline␈α⊗spacing
␈↓ ββ␈β∞A␈↓βdetermine␈α
how␈α
far␈α
apart␈α
lines␈α
will␈α
be␈α
(each␈α
line␈α
is␈α
placed␈α
as␈αhigh␈αup␈αon
␈↓ ββ␈β∞←␈↓βthe␈α⊂page␈α⊂as␈α⊂is␈α∂possible␈α∂without␈α∂violating␈α∂either␈α∂constraint).␈α≡When␈α∂the
␈↓ ββ␈β∞⎇␈↓βsimulator␈α
is␈α
off,␈α
this␈α
parameter␈α
is␈α
ignored␈α
and␈α
only␈α
the␈α
interline␈αspacing
␈↓ ββ␈β∂≠␈↓βhas␈α⊂any␈α⊂effect.␈α --␈α⊂A␈α⊂logical␈α⊂consequence␈α⊂of␈α⊂the␈α⊂above␈α⊂is␈α⊂that␈α⊂if␈α∂the
␈↓ ∞␈↓α 10␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 11␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ββ␈β↓H␈↓βinterline␈α∂spacing␈α∂is␈α∂very␈α∂negative,␈α∂then␈α∂only␈α∂the␈α∂interbase␈α∂spacing␈α∂has
␈↓ ββ␈β↓f␈↓βany␈α∃effect,␈α∃and␈α∃you␈α∀get␈α∀evenly␈α∀spaced␈α∀lines␈α∀even␈α∀if␈α∀they␈α∀overlap;
␈↓ ββ␈βα∧␈↓βwhereas␈α
if␈α
interbase␈α
spacing␈α
is␈α
zero␈α
and␈αinterline␈αspacing␈αis␈αreasonable,
␈↓ ββ␈βα"␈↓βthen␈α
in␈α
most␈α
cases␈α
only␈α
interline␈α
spacing␈α
will␈α
be␈αin␈αcontrol,␈αand␈αyou␈αwill
␈↓ ββ␈βα@␈↓βget␈α⊃lines␈α⊃with␈α⊃the␈α⊃same␈α⊃amount␈α⊃of␈α⊃space␈α⊃between␈α⊃each␈α⊃pair,␈α⊃even␈α⊂if
␈↓ ββ␈βα↑␈↓βdiffering␈α
amounts␈α
of␈α
subscripts␈α
etc.␈α
cause␈α
irregular␈α
spacing␈α
to␈α
occur.
␈↓ βa␈ββ~␈↓βRESET VERTICAL POSITION FOR TEXT (SEE ALSO OVERLAYS)
␈↓ ↓H␈ββ0␈↓1␈↓∂Y␈↓εq␈↓β␈↓ ββ(U)␈α--␈αset␈αabsolute␈αY␈αposition␈αfor␈αtop␈αscan␈α
line␈α
of␈α
this␈α
text␈α
line␈α
relative␈α
to
␈↓ ββ␈ββV␈↓βtop␈α
of␈α
page␈α
(if␈α
no␈α
text␈α
line␈α
is␈α
currently␈α
active,␈α
apply␈α
to␈α
the␈α
next␈α
text␈α
line).
␈↓ ββ␈ββl␈↓βIncreasing␈↓ε␈α
q␈↓β␈α
moves␈αdown␈αthe␈αpage!␈α_Text␈αafter␈αthis␈αline␈αwill␈αbe␈αbelow␈αit
␈↓ ββ␈β∧∩␈↓βon␈α⊂the␈α⊂page␈α⊂unless␈α⊂POX␈α⊂or␈α⊂the␈α⊂XGPSER␈α∂decides␈α∂it␈α∂is␈α∂too␈α∂close␈α∂to␈α∂the
␈↓ ββ␈β∧0␈↓βbottom␈α∞of␈α∞the␈α
page␈α
and␈α
inserts␈α
a␈α
page␈α
mark.␈α~Do␈α
not␈α
use␈α
this␈α
command
␈↓ ββ␈β∧N␈↓βinside␈α∞your␈α∞EVERYPAGE␈α∞macro␈α∞unless␈α∞you␈α∞restore␈α∞the␈α∞Y-location␈α∞of␈α∞the
␈↓ ββ␈β∧l␈↓βmain␈αpage␈αprinter␈αbefore␈αreturning␈αfrom␈αyour␈αmacro␈αto␈αthe␈αmainline␈αtext!
␈↓ ββ␈β¬α␈↓β--␈α
WARNING␈α
--␈α
If␈↓ε␈α
q␈↓β␈α
is␈α
very␈αlarge␈αit␈αwill␈αprobably␈αmake␈αthe␈αXGP␈αspooler
␈↓ ββ␈β¬(␈↓βgo␈α
beserk.
␈↓ ↓H␈β¬>␈↓1␈↓∂y␈↓εq␈↓β␈↓ ββ(U)␈α∩--␈α∩The␈α∩simulator␈α∩maintains␈α⊃two␈α⊃parameters␈α⊃that␈α⊃tell␈α⊃it␈α⊃where␈α⊃the
␈↓ ββ␈β¬d␈↓βbaseline␈α∂and␈α∂the␈α∂last-scanline␈α∂were␈α∂in␈α∂the␈α∂previously-emitted␈α∂text␈α∞line,
␈↓ ββ␈βεα␈↓βwhich␈α
are␈α
used␈α
by␈α
the␈α
simulator␈α
to␈α
decide␈α
where␈α
the␈α
next␈α
text␈α
line␈α
will
␈↓ ββ␈βε_␈↓βbe␈αplaced.␈α⊗This␈αcommand␈αadds␈↓ε␈αq␈↓β␈αto␈αwhatever␈αis␈α
in␈α
these␈α
two␈α
parameters
␈↓ ββ␈βε>␈↓βat␈αthe␈αmoment,␈αthus␈αforcing␈αthe␈αnext␈αtext␈αline␈αdown␈αby␈αthat␈α
amount␈α
(up␈α
if
␈↓ ββ␈βεT␈↓εq␈↓β␈αis␈αnegative)␈αor␈αforcing␈α
it␈α
to␈α
the␈α
next␈α
page␈α
of␈α
output.␈α∀In␈α
the␈α
case␈α
where
␈↓ ββ␈βεz␈↓βthe␈αline␈αis␈αforced␈αonto␈αthe␈αnext␈αpage,␈αit␈αwill␈αbe␈αplaced␈αexactly␈αat␈αthe␈αtop
␈↓ ββ␈βπ⊂␈↓βmargin␈α
regardless␈α
of␈α
the␈α
size␈α
of␈↓ε␈α
q␈↓β,␈α
so␈α
this␈α
command␈αis␈αespecially␈αuseful
␈↓ ββ␈βπ6␈↓βfor␈αplacing␈αa␈αgap␈αjust␈αbefore␈αbeginning␈αa␈αnew␈αsection␈αin␈αa␈αdocument.␈α⊗--
␈↓ ββ␈βπR␈↓βIf␈α
a␈↓␈α
1␈↓∂Y␈↓β...␈α
command␈α
has␈α
been␈α
done␈α
and␈α
not␈α
yet␈α
acted␈α
upon,␈α
the␈αeffect␈αof
␈↓ ββ␈βπp␈↓βthe␈↓␈α1␈↓∂y␈↓β...␈αcommand␈αis␈αto␈αadd␈αto␈αthe␈↓␈α1␈↓∂Y␈↓β␈αvalue␈αinstead␈αof␈αadding␈αto␈αthe␈αtwo
␈↓ ββ␈βλ⊂␈↓βparameters.
␈↓ ↓H␈βλ&␈↓1␈↓∂B␈↓εq␈↓β␈↓ ββ(U␈α∂J␈α∂CR␈α∂o␈α∂A)␈α∂--␈α∂Set␈α∞bottom␈α∞margin␈α∞in␈α∞POX␈α∞to␈α∞be␈↓ε␈α∞q␈↓β␈α∞(relative␈α∞to␈α∞top␈α∞of
␈↓ ββ␈βλL␈↓βpage,␈α∪in␈α∪1/200␈α∪inch␈α∪units).␈α&This␈α∩command␈α∩only␈α∩has␈α∩effect␈α∩with␈α∩the
␈↓ ββ␈βλj␈↓βsimulator␈α
on.
␈↓ ↓H␈β ␈↓1␈↓∂b␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
Read␈α
the␈α
current␈α
bottom-margin␈α
and␈α
put␈α
it␈α
in␈↓ε␈α
q␈↓β.
␈↓ ↓H␈β ≡␈↓1␈↓∂T␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈αo␈αA)␈α--␈αSet␈αtop␈αmargin␈αin␈αPOX␈α(only␈αeffective␈αif␈αsimulator␈αis␈αon).
␈↓ ββ␈β D␈↓βThis␈αwill␈αalways␈α
affect␈α
later␈α
pages,␈α
but␈α
will␈α
only␈α
affect␈α
the␈α
current␈α
page␈α
if
␈↓ ββ␈β b␈↓βno␈αtext␈αhas␈αyet␈αbeen␈αemitted␈αon␈αit␈α(technically␈α
if␈α
no␈α
complete␈α
line␈α
has␈α
yet
␈↓ ββ␈β
␈↓βbeen␈α
emitted␈α
on␈α
the␈α
page).
␈↓ ↓H␈β
⊗␈↓1␈↓∂t␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
Read␈α
current␈α
top␈α
margin␈α
and␈α
store␈α
it␈α
in␈↓ε␈α
q␈↓β.
␈↓ ∧x␈β
Z␈↓βMISC. COMMANDS NOT OFTEN USED
␈↓ ↓H␈β
p␈↓1␈↓∂u␈↓εq␈↓β␈↓ ββ(U␈αJ␈αCR␈αo␈αA)␈α--␈αgenerates␈αand␈αexecutes␈αa␈αCALLI␈αUUO␈αusing␈αthe␈αright␈αhalf
␈↓ ββ␈β∞␈↓βof␈↓ε␈α
q␈↓β,␈α
thus␈↓␈α
1␈↓∂u'400012;␈↓β␈α
will␈α
perform␈α
a␈↓∂␈α
CALLI␈α
400012␈↓β␈α--␈αthe␈αac␈αis␈αused
␈↓ ββ␈β4␈↓βto␈α∞supply␈α∞data␈α∞to␈α∞some␈α∞UUO's,␈α∞and␈α∞to␈α∞return␈α∞data␈α∞to␈α
the␈α
program␈α
after
␈↓ ββ␈βR␈↓βsome␈α
UUO'S␈α
--␈α
if␈α
the␈α
ac␈α
field␈α
of␈α
the␈αinstruction␈αis␈αused␈αin␈αa␈αspecial␈αway
␈↓ ββ␈βp␈↓βother␈α
than␈α
merely␈α
pointing␈α
to␈α
data,␈α
then␈α
it␈α
isn't␈α
guaranteed␈α
to␈α
work␈αthe
␈↓ ββ␈β∞␈↓βway␈αyou␈αwant␈α--␈αthe␈α.SKIP.␈αflag␈α(ala␈αSAIL)␈αis␈α
returned␈α
in␈α
register␈↓∂␈α
u␈↓β␈α
--␈α
see
␈↓ ββ␈β,␈↓βthe␈α
UUO␈α
manual␈α
for␈α
details.
␈↓ ↓H␈βH␈↓1␈↓∂S␈↓β␈↓ ββ(U)␈α↔--␈α↔generates␈α↔a␈α⊗sample␈α⊗of␈α⊗the␈α⊗currently-selected␈α⊗font␈α⊗--␈α⊗type
␈↓ ββ␈βg␈↓∂HELP␈↓#↓ ␈↓#FONT␈↓β␈α
for␈α
other␈α
ways␈α
to␈α
get␈α
samples␈α
of␈α
fonts.
␈↓ β[␈β
∨␈↓Examples of commands using register arguments etc.
␈↓ α_␈β
@␈↓βIn␈α⊂this␈α⊂writeup,␈α⊂the␈↓␈α⊂1␈↓∂j␈↓β␈α⊂command␈α⊂is␈α⊂used␈α⊂to␈α⊂generate␈α⊂the␈α⊂indented␈α⊂paragraph␈α∂of␈α∂description
␈↓ ↓H␈β
X␈↓βalongside␈α⊃the␈α⊃syntax␈α⊃of␈α⊃each␈α⊃command.␈α"The␈α⊂sequence␈↓␈α⊂1␈↓∂←␈↓εq␈↓1␈↓∂→.␈↓β␈α⊂is␈α⊂used␈α⊂sometimes␈α⊂to␈α⊂set␈α⊂column
␈↓ ↓H␈β
}␈↓βposition␈α
for␈α
single-line␈α
descriptions␈α
and␈α
to␈α
align␈α
text␈α
in␈α
some␈α
of␈α
the␈α
tabular␈α
presentations.
␈↓ ↓H␈β∞:␈↓∧Example showing how to do a simple subscript:
␈↓ ↓H␈β∞V␈↓1␈↓∂F3x␈↓1␈↓∂∪1␈↓1␈↓∂⊗+x␈↓1␈↓∂∪2␈↓1␈↓∂⊗+...+x␈↓1␈↓∂∪n␈↓1␈↓∂⊗+x␈↓1␈↓∂∪n+1␈↓1␈↓∂⊗
␈↓ ↓H␈β∞v␈↓βx␈↓#s1␈↓#+x␈↓#s2␈↓#+...+x␈↓#sn␈↓#+x␈↓#sn+1␈↓#
␈↓ ↓H␈β∂2␈↓∧Example of making five columns on a page, $ is the escape char:
␈↓ ∞␈↓α 11␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 12␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ↓H␈β↓H␈↓∂$←R$-L$/'5;$→W$;␈↓ εHq-reg W contains width of a column
␈↓ ↓H␈β↓f␈↓∂$←L$→1$+W$→2$+W$→3$+W$→4$+W$→5$;␈↓ εHq-reg's 1,2,3,4,5 contain the column loc's
␈↓ ↓H␈βα∧␈↓∂$←1$→.Hello$←2$→.This$←3$→.Is$←4$→.A$←5$→.Test.
␈↓ ↓H␈βα"␈↓∂$←1$→.These$←2$→.Columns$←3$→.Are$←4$→.Nicely$←5$→.Aligned.
␈↓ ↓H␈βα@␈↓βHello␈↓ βNThis␈↓ ¬TIs␈↓ πZA␈↓ `Test.
␈↓ ↓H␈βα↑␈↓βThese␈↓ βNColumns␈↓ ¬TAre␈↓ πZNicely␈↓ `Aligned.
␈↓ ↓H␈ββ~␈↓∧Example of hidden characters, $ is the escape char:
␈↓ ↓H␈ββ8␈↓∂$FF$'0;$'11;$'12;$'14;$'15;$'177;
␈↓ ↓H␈ββV␈↓∂␈␈ ␈
␈␈
␈␈
␈↓ ↓H␈β∧∩␈↓∂$F1This shows how to $←.$→1underline$U1=3;=2;. a word in a line of text.
␈↓ ↓H␈β∧+␈↓This shows how to underline␈↓ βa␈↓!β↓β␈↓ βa␈↓!∧↓β␈↓ ∧d a word in a line of text.
␈↓ ↓H␈β∧l␈↓∂$F3$J␈↓ αHThis paragraph is an example of how to insert something
␈↓ ↓H␈β¬
␈↓∂like X$←.$→1$∩n$←.$→2$←1$→.$∪i$←.$~2$→.$⊗ in the middle of a paragraph of
␈↓ ↓H␈β¬(␈↓∂justified text using the "." register that represents the current column
␈↓ ↓H␈β¬F␈↓∂$←.$→1$∩loca$←.$→2$←1$→.$↓=05;posi$←.$~2$→.$⊗tion
␈↓ ↓H␈β¬d␈↓∂relative to the beginning of the current word.$.
␈↓ α_␈β¬u␈↓βThis␈αparagraph␈αis␈αan␈αexample␈αof␈αhow␈αto␈αinsert␈αsomething␈αlike␈αX␈↓#
n␈↓#s␈αqi␈↓#␈α∪in␈αthe␈αmiddle␈αof␈αa␈α
paragraph␈α
of
␈↓ ↓H␈βε∨␈↓βjustified␈α∀text␈α∀using␈α∪the␈α∪"."␈α∪register␈α∪that␈α∪represents␈α∪the␈α∪current␈α∪column␈↓#
␈α∪loca␈↓#{␈αOposi␈↓#tion␈α∪relative␈α∪to␈α∪the
␈↓ ↓H␈βεJ␈↓βbeginning␈α
of␈α
the␈α
current␈α
word.
␈∧εw X␈}+Hα␈∧εw X↓UHα␈↓ ↓H␈βπε␈↓∂$←=2;$→V$←;$-=100;$→A$+=27;$→B$+=45;$→C$;
␈∧π∩ 0αP␈∧π∩ 0ε≤-α␈∧π∩
␈yd-α␈↓ ↓H␈βπ$␈↓∂$←=1200;$→a$+=10;$→b$+=30;$→c$+=30;$→d$+=10;$→e$;
␈↓ ↓H␈βπB␈↓∂$VaBeBV$VaBdCV$VcAbCV$VcAdCV$VbCeBV$; draw 5-point star of constant width
␈∧πo X␈}+Hα␈∧πo X↓UHα␈↓ ↓H␈βπ}␈↓∂$←=2;$→V$←;$-=100;$→A$+=27;$→B$+=45;$→C$;
␈∧λ
0αP␈∧λ
0ε≤-β␈∧λ
␈yd-β␈↓ ↓H␈βλ≤␈↓∂$←=1200;$→a$+=10;$→b$+=30;$→c$+=30;$→d$+=10;$→e$;
␈↓ ↓H␈βλ:␈↓∂$vaBeBV$vaBdCV$vcAbCV$vcAdCV$vbCeBV$; draw 5-point star of constant thickness
␈↓ ↓H␈βλv␈↓∂$←;$-=20;$→:$v=1400;;=1300;:=20;$; sample of a very ugly vector
␈∧ →
∀∀∀e␈↓ ε␈β K␈↓OVERLAYS
␈↓ α_␈β n␈↓βAn␈↓α␈αoverlay␈↓β␈αis␈αlike␈αa␈αblack-on-clear␈αtransparency.␈α_Overlays␈αcan␈αbe␈αset␈αup␈αby␈αfeeding␈αthem␈αtext
␈↓ ↓H␈β
␈↓βor␈α⊂vectors␈α⊂(someday,␈α⊂video␈α⊂and␈α⊂III/DD␈α⊂buffers␈α⊂also),␈α⊂and␈α⊂several␈α⊂overlays␈α⊂can␈α⊂be␈α⊂placed␈α⊂over␈α∂one
␈↓ ↓H␈β
*␈↓βanother␈α⊂and␈α⊂glued␈α⊂together␈α⊂to␈α⊂make␈α⊂a␈α⊂compound␈α⊂overlay,␈α∂which␈α∂then␈α∂can␈α∂be␈α∂further␈α∂processed␈α∂in
␈↓ ↓H␈β
H␈↓βsimilar␈α
ways.␈α∀Eventually,␈α
overlays␈α
are␈α
placed␈α
in␈α
the␈α
output␈α
file.
␈↓ α_␈β
f␈↓βAll␈αcontents␈αof␈αan␈αoverlay␈αare␈αpositioned␈αrelative␈αto␈αan␈αarbitrary␈↓α␈αbasepoint␈↓β.␈α⊗When␈αoverlays␈αare
␈↓ ↓H␈β∧␈↓βplaced␈αon␈αtop␈αof␈αone-another␈αand␈αglued,␈αthe␈αx,y␈αoffset␈αof␈αthe␈α
basepoint␈α
of␈α
each␈α
component␈α
is␈α
specified
␈↓ ↓H␈β"␈↓βrelative␈αto␈αthe␈αbasepoint␈αof␈αthe␈αoperation␈αas␈αa␈αwhole,␈αthus␈αoverlays␈α
can␈α
be␈α
made␈α
to␈α
fit␈α
side-by-side␈α
or
␈↓ ↓H␈β@␈↓βabove-and-below␈α⊗or␈α⊗partially-overlapped␈α⊗or␈α⊗whatever.␈α+Defaults␈α∃are␈α∃available␈α∃in␈α∃some␈α∃of␈α∃the
␈↓ ↓H␈β↑␈↓βoperations.
␈↓ α_␈β|␈↓βIn␈α∪typical␈α∪applications,␈α∪overlays␈α∪act␈α∩as␈α∩data,␈α∩and␈α∩macros␈α∩that␈α∩call␈α∩the␈α∩overlay-manipulation
␈↓ ↓H␈β~␈↓βcommands␈α
act␈α
as␈α
subroutines␈α
(see␈α
next␈α
section␈α
for␈α
macros).
␈↓ ↓H␈βT␈↓1␈↓∂o␈↓¬<NAME><OPEN><CH><BODY><CLOSE>
␈↓ β↔␈βt␈↓β(U␈αJ␈αCR␈αo␈αA)␈α--␈α[Note␈αthat␈αthe␈αpair␈αof␈αnesting␈αcharacters␈α(␈α
and␈α
)␈α
are␈α
not
␈↓ β↔␈β
∩␈↓βallowed␈α∃in␈α∃this␈α∃particular␈α∃syntax.␈α*The␈α∀reason␈α∀is␈α∀that␈α∀the␈α∀syntax
␈↓ β↔␈β
0␈↓¬<OPEN><CH><BODY><CLOSE>␈↓β␈α
will␈α
represent␈α
something␈α
like␈α
an␈α
atom,␈α
with␈α
"("
␈↓ β↔␈β
N␈↓βand␈α
")"␈αreserved␈αfor␈αgenerating␈αs-expressions,␈αif␈αand␈αwhen␈αI␈αimplement
␈↓ β↔␈β
l␈↓βa␈αsubset␈αof␈αLISP␈αinside␈αPOX.]␈α⊗If␈↓¬␈α<CH>␈↓β␈αis␈α
"␈↓∂V␈↓β"␈α
then␈α
define␈α
an␈α
atomic␈α
vector
␈↓ β↔␈β∞α␈↓βoverlay␈α(syntax␈αis␈αsame␈αas␈αthe␈↓␈α1␈↓∂V␈↓εx␈↓β␈↓#n1␈↓εy␈↓β␈↓#n1␈↓εx␈↓β␈↓#n2␈↓εy␈↓β␈↓#n2␈↓εw␈↓β␈αcommand␈αwithout␈αthe
␈↓ β↔␈β∞,␈↓βinitial␈↓␈α1␈↓β␈αcharacter,␈αeffect␈α(semantics)␈αis␈αthe␈αsame␈αexcept␈αthat␈α(0,0)␈αis␈αat
␈↓ β↔␈β∞L␈↓βthe␈α∂relocatable␈α∂basepoint␈α∂rather␈α∂than␈α∂at␈α∞the␈α∞upper-left␈α∞corner␈α∞of␈α∞the
␈↓ β↔␈β∞j␈↓βoutput␈α⊃page)␈α⊃else␈α⊃if␈α⊃<ch>␈α⊃is␈α⊂a␈α⊂period␈α⊂or␈α⊂a␈α⊂font␈α⊂number␈α⊂then␈α⊂define
␈↓ β↔␈β∂λ␈↓βatomic␈α↔text␈α↔overlay␈α↔with␈α↔font␈↓¬␈α⊗<CH>␈↓β␈α⊗(the␈α⊗basepoint␈α⊗is␈α⊗set␈α⊗at␈α⊗the
␈↓ β↔␈β∂&␈↓βintersection␈α∃of␈α∃the␈α∃left␈α∃edge␈α∀of␈α∀the␈α∀first␈α∀character␈α∀with␈α∀the␈α∀font
␈↓ ∞␈↓α 12␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 13␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ β↔␈β↓H␈↓βbaseline)␈αelse␈αerror␈α--␈αIf␈αthere␈αis␈αalready␈αan␈αoverlay␈αby␈α
the␈α
same␈α
name,
␈↓ β↔␈β↓f␈↓βthe␈α
old␈α
one␈α
may␈α
or␈α
may␈α
not␈α
be␈α
deleted,␈α
so␈α
beware.
␈↓ ↓H␈βαα␈↓1␈↓¬n<NAME>␈↓∂;␈↓β␈↓ β↔(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
load␈α
parameter␈↓¬␈α
n␈↓β␈α
of␈α
overlay␈α
into␈α
ac,␈α
see␈αthe␈αfollowing
␈↓ β↔␈βα"␈↓βtable:
␈↓ αH␈βα@␈↓¬n␈↓∂␈↓ βHname␈↓β␈↓ ∧Hmeaning (all quantities are usually nonnegative)
␈↓ αH␈βα↑␈↓∂1␈↓ βHLLIM␈↓β␈↓ ∧Hdistance from left edge to basepoint
␈↓ αH␈βα|␈↓∂2␈↓ βHRLIM␈↓β␈↓ ∧Hdistance from basepoint to right edge (LLIM+1+RLIM = total width)
␈↓ αH␈ββ~␈↓∂3␈↓ βHTLIM␈↓β␈↓ ∧Hdistance from top edge to basepoint
␈↓ αH␈ββ8␈↓∂4␈↓ βHBLIM␈↓β␈↓ ∧Hdistance from basepoint to bottom edge (TLIM+1+BLIM = total height)
␈↓ αH␈ββV␈↓∂5␈↓ βHTLIM1␈↓β␈↓ ∧Hdistance from top nonblank scan line to basepoint (see bug 2)
␈↓ αH␈ββt␈↓∂6␈↓ βHBLIM1␈↓β␈↓ ∧Hdistance from basepoint to bottom nonblank scan line (see bug 2)
␈↓ ↓H␈β∧⊂␈↓1␈↓∂:␈↓¬n<NAME>␈↓∂;␈↓β␈↓ β↔(U␈α∂J␈α∂CR␈α∂o␈α∂A)␈α∂--␈α∂clobber␈α∂parameter␈↓¬␈α∂n␈↓β␈α∞of␈α∞overlay␈α∞from␈α∞contents␈α∞of␈α∞ac,
␈↓ β↔␈β∧.␈↓βthereby␈α⊃making␈α⊃it␈α⊃"lie"␈α⊃if␈α⊃this␈α⊃parameter␈α⊃is␈α⊂later␈α⊂queried␈α⊂by␈α⊂the␈↓␈α⊂1␈↓¬n
␈↓ β↔␈β∧N␈↓βcommand␈α∂(occasionally␈α∂useful␈α∞to␈α∞interface␈α∞with␈α∞macros),␈α∞only␈α∞the␈α∞right
␈↓ β↔␈β∧l␈↓βhalfword␈α∂is␈α∂used,␈α∂interpreted␈α∂as␈α∂a␈α∂signed-halfword␈α∂in␈α∂2's␈α∞complement
␈↓ β↔␈β¬
␈↓βnotation.
␈↓ ↓H␈β¬ ␈↓1␈↓∂&␈↓¬<NAME_OF_RESULT>␈↓∂←␈↓¬<NAME␈↓#v1␈↓#>␈↓∂,␈↓εx␈↓∂␈↓#t1␈↓εy␈↓∂␈↓#t1␈↓#&␈↓¬<NAME␈↓#v2␈↓#>␈↓∂,␈↓εx␈↓∂␈↓#t2␈↓εy␈↓∂␈↓#t2␈↓#&...&␈↓¬<NAME␈↓#vn␈↓#>␈↓εx␈↓¬␈↓#vn␈↓εy␈↓¬␈↓#vn␈↓∂;
␈↓ β↔␈β¬F␈↓β(U␈αJ␈αCR␈αo␈αA)␈α--␈αcombine␈αoverlays␈αby␈αlaying␈αthem␈αat␈αvarious␈αoffsets␈αand
␈↓ β↔␈β¬W␈↓βgluing␈α
them␈α
together␈α
to␈α
make␈α
a␈α
composite␈α
overlay␈α
--␈α
for␈α
i=1,2,..,n␈α
the␈α
i␈↓#
th␈↓#
␈↓ β↔␈β¬z␈↓βcomponent␈αoverlay␈αis␈αshifted␈αso␈αthat␈αits␈αbase␈αpoint␈αis␈αlocated␈αat␈α(␈↓εx␈↓β␈↓#si␈↓#,␈↓εy␈↓β␈↓#si␈↓#)
␈↓ β↔␈βε ␈↓βrelative␈α∪to␈α∩the␈α∩logical␈α∩basepoint␈α∩of␈α∩the␈α∩resultant␈α∩overlay␈α∩--␈α∩all␈α∩six
␈↓ β↔␈βε>␈↓βparameters␈α∂are␈α∂computed␈α∂according␈α∂to␈α∂the␈α∂offsets␈α∂and␈α∂parameters␈α∂of
␈↓ β↔␈βε\␈↓βthe␈α
components␈α
--␈α
if␈α
you␈α
leave␈α
out␈α
the␈α
comma␈αand␈αxy␈αarguments␈αfrom
␈↓ β↔␈βεz␈↓βany␈αcomponent,␈αit␈αwill␈αplace␈αthat␈αcomponent␈αjust␈αto␈αthe␈αright␈αof␈αwhat␈αis
␈↓ β↔␈βπ_␈↓βalready␈α
prepared,␈α
and␈α
use␈α
0␈α
for␈α
the␈α
y-offset.
␈↓ ↓H␈βπ.␈↓1␈↓∂O␈↓¬<NAME>␈↓∂,␈↓εxy
␈↓ ↓H␈βπL␈↓1␈↓∂W␈↓¬<NAME>␈↓∂,␈↓εxy
␈↓ ↓H␈βπp␈↓1␈↓∂O␈↓¬<NAME>␈↓∂;␈↓β␈↓ β↔(U)␈α--␈αoutput␈αoverlay␈αto␈αXGP,␈αwith␈αbasepoint␈αmoved␈αto␈α
absolute␈α
location
␈↓ β↔␈βλλ␈↓β(␈↓εx␈↓β,␈↓εy␈↓β)␈α--␈αyou␈αcan␈αoutput␈αan␈αoverlay␈α
randomly␈α
anywhere␈α
on␈α
the␈α
page,␈α
or
␈↓ β↔␈βλ&␈↓βyou␈α⊗can␈α⊗replace␈α⊗the␈α⊗"␈↓∂,␈↓εxy␈↓β"␈α⊗by␈α⊗"␈↓∂;␈↓β"␈α⊗(see␈α⊗syntax,␈α⊗at␈α⊗left␈α⊗of␈α⊗this
␈↓ β↔␈βλL␈↓βparagraph)␈α⊂to␈α⊂get␈α⊂the␈α∂Gosper-requested␈α∂default␈α∂for␈α∂which␈α∂no␈α∂special
␈↓ β↔␈βλj␈↓βclaim␈α⊂is␈α⊂made,␈α⊂except␈α⊂to␈α⊂say␈α⊂that␈α⊂the␈α⊂overlay␈α∂is␈α∂placed␈α∂"just␈α∂below"
␈↓ β↔␈β λ␈↓βwhere␈α
you␈α
were␈α
writing␈α
plain␈α
text␈αpreviously␈α--␈αBecause␈αtext␈αmust␈αbe
␈↓ β↔␈β &␈↓βpresented␈α⊂in␈α⊂ascending␈α⊂Y-sequence␈α⊂to␈α∂the␈α∂XGP,␈α∂you␈α∂must␈α∂enable␈α∂the
␈↓ β↔␈β D␈↓βsimulator␈α⊃(see␈α⊃note␈α⊃2)␈α⊂whenever␈α⊂you␈α⊂place␈α⊂ordinary␈α⊂text␈α⊂below␈α⊂any
␈↓ β↔␈β b␈↓βoverlay␈α∪on␈α∪the␈α∪same␈α∪page.␈α&--␈α∪ADDENDA␈α∪1975.JUL-AUG␈α∩--␈α∩At␈α∩the
␈↓ β↔␈β
␈↓βinsistance␈α∂of␈α∂Ralph␈α∂Gorin,␈α∂the␈α∂default␈α∂way␈α∂these␈α∂commands␈α∞work␈α∞is␈α∞a
␈↓ β↔␈β
≡␈↓βcomplicated␈α∞illogical␈α∞mess␈α∞that␈α∞happened␈α∞to␈α∞be␈α∞implemented␈α∞for␈α∞a␈α∞few
␈↓ β↔␈β
<␈↓βdays␈α∞in␈α
July.␈α~If␈α
you␈α
have␈α
the␈α
'200000␈α
bit␈α
on,␈α
as␈α
I␈α
reccommend␈α
for␈α
all
␈↓ β↔␈β
X␈↓βnew␈α⊂files,␈α∂the␈α∂following␈α∂more␈α∂reasonable␈α∂thing␈α∂happens:␈↓␈α≡1␈↓∂O␈↓¬...␈↓β␈α∂always
␈↓ β↔␈β
x␈↓βaffects␈α⊂your␈α⊂page␈α⊂printer,␈α⊂and␈α⊂register␈↓∂␈α∂;␈↓β␈α∂if␈α∂the␈α∂simulator␈α∂on.,␈α∂and␈α∂is
␈↓ β↔␈β⊗␈↓βsupposed␈α
to␈α
be␈α
used␈α
for␈α
displays␈α
that␈α
occur␈α
in␈α
the␈α
middle␈α
of␈α
text,␈αnot
␈↓ β↔␈β2␈↓βpage␈αheaders/footings.␈↓␈α∃1␈↓∂W␈↓¬...␈↓β␈α
never␈α
affects␈α
your␈α
page␈α
printer␈α
or␈α
register
␈↓ β↔␈βR␈↓∂;␈↓β␈α∂and␈α∂is␈α∂useful␈α∂for␈α∞headings/footings,␈α∞especially␈α∞from␈α∞the␈α∞EVERYPAGE
␈↓ β↔␈βn␈↓βmacro␈α⊗feature.␈α,The␈α⊗following␈α⊗other␈α⊗differences␈α⊗exist:␈α,the␈↓␈α⊗1␈↓∂W␈↓β...
␈↓ β↔␈β∞␈↓βcommand␈α∞will␈α∞force␈α∞the␈α∞overlay␈α∞to␈α∞be␈α∞on␈α∞the␈α∞same␈α∞page,␈α∞even␈α∞if␈α∞it␈α
is
␈↓ β↔␈β*␈↓βoutside␈α
the␈α
normal␈α
page␈α
margins,␈α
whereas␈α
the␈↓␈α1␈↓∂O␈↓β...␈αcommand␈αwill␈αwarn
␈↓ β↔␈βJ␈↓βyou␈α
if␈α
it␈α
is␈α
below␈α
the␈α
bottom␈α
of␈αthe␈αpage,␈αor␈αif␈αVERPAG␈αis␈αon␈α(see␈αthe
␈↓ β↔␈βh␈↓βspecial␈α≤features␈α≤section)␈α≤it␈α≤will␈α≤be␈α≤placed␈α≠on␈α≠the␈α≠next␈α≠page
␈↓ β↔␈β
ε␈↓βautomatically.
␈↓ ↓H␈β
"␈↓1␈↓∂∂␈↓¬<NEW_NAME>␈↓∂←␈↓¬<OLD_NAME>␈↓∂;
␈↓ β↔␈β
B␈↓β(U␈αJ␈αCR␈αo␈αA)␈α--␈αrename␈αoverlay␈αor␈αmacro␈α
--␈α
if␈α
resultant␈α
name␈α
is␈α
the␈α
null
␈↓ β↔␈β
`␈↓βstring␈α
then␈α
delete␈α
rather␈α
than␈α
rename␈α
--␈α
It␈α
is␈α
probably␈αa␈αgood␈αidea␈αto
␈↓ β↔␈β
}␈↓βdelete␈αany␈αobsolete␈αoverlays␈αor␈αmacros␈αto␈αsave␈αcore␈α--␈αThe␈αonly␈αother
␈↓ β↔␈β∞≤␈↓βmajor␈α∩reason␈α∩for␈α⊃using␈α⊃this␈α⊃command␈α⊃now␈α⊃is␈α⊃to␈α⊃temporarily␈α⊃rename
␈↓ β↔␈β∞:␈↓βsomething␈α∪so␈α∪that␈α∪it␈α∩can␈α∩be␈α∩temporarily␈α∩redefined,␈α∩then␈α∩delete␈α∩the
␈↓ β↔␈β∞X␈↓βtemporary␈α⊂definition␈α⊂and␈α⊂rename␈α⊂the␈α⊂permanent␈α∂definition␈α∂back␈α∂again
␈↓ β↔␈β∞v␈↓βwhen␈αdone␈α--␈αThe␈αrename␈αalgorithm␈αcurrently␈αis␈αas␈αfollows:␈α_Do␈αall␈αthe
␈↓ β↔␈β∂∀␈↓βfollowing,␈αfirst␈αfor␈αoverlays,␈αthen␈αif␈αthat␈αfalls␈αthru,␈αfor␈αmacros:␈α(1)␈αstart
␈↓ β↔␈β∂2␈↓βat␈αthe␈αtop␈αof␈αlist␈αof␈αdefinitions,␈αi.e.␈αmost␈αrecently-defined␈αitem;␈α(2)␈αif␈αits
␈↓ ∞␈↓α 13␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 14␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ β↔␈β↓H␈↓βname␈α
equals␈↓¬␈α
<OLD>␈↓β␈α
then␈α
clobber␈α
its␈α
retrieval␈α
name␈α
to␈↓¬␈α<NEW>␈↓β␈αand␈αreturn
␈↓ β↔␈β↓f␈↓βfrom␈α∞the␈α∞Do␈α∞loop,␈α∞else␈α∞if␈α
its␈α
name␈α
equals␈↓¬␈α
<NEW>␈↓β␈α
then␈α
delete␈α
it␈α
and␈α
fall
␈↓ β↔␈βα∧␈↓βthrough␈α∞to␈α∞3,␈α
else␈α
do␈α
nothing␈α
and␈α
fall␈α
through␈α
to␈α
3;␈α
(3)␈α
move␈α
down␈α
to
␈↓ β↔␈βα"␈↓βnext␈α∩older␈α∩item␈α⊃in␈α⊃the␈α⊃list;␈α⊃(4)␈α⊃go␈α⊃to␈α⊃2.␈α⊃--␈α⊃Thus␈α⊃it␈α⊃is␈α⊃possible␈α⊃that
␈↓ β↔␈βα@␈↓βrenaming␈α⊂the␈α⊂latest␈α⊂version␈α⊂of␈α⊂a␈α∂twice-defined␈α∂overlay␈α∂or␈α∂macro␈α∂will
␈↓ β↔␈βα↑␈↓βunmask␈α∞the␈α∞older␈α∞version.␈α≤Don't␈α
rely␈α
on␈α
this,␈α
it␈α
depends␈α
too␈α
much␈α
on
␈↓ β↔␈βα|␈↓βthe␈α
structure␈αof␈αthe␈αtables␈αof␈αdefinitions,␈αand␈αis␈αlikely␈αto␈αchange␈αin␈αthe
␈↓ β↔␈ββ~␈↓βnear␈α
future␈α
without␈α
warning!
␈↓ ¬
␈ββQ␈↓Examples of use of overlays
␈↓ ↓H␈ββt␈↓∂$oNUM[1-b+SQRT(b$↑=10;2$⊗-4ac)]$; set up the numerator
␈↓ ↓H␈β∧∩␈↓∂$oDEN[12a]$←=0;$→0$; set up the denominator and a useful register
␈↓ ↓H␈β∧0␈↓∂$; NOTE -- The algorithm as presented here only works when NUM is wider than DEN
␈↓ ↓H␈β∧N␈↓∂$1NUM;$→X$2NUM;$+X$→A$; set up x offset, compute size of numerator
␈↓ ↓H␈β∧l␈↓∂$oBAR[V00A0=2;]$; set up a fraction bar the correct length for numerator
␈↓ ↓H␈β¬
␈↓∂$4NUM;$+=3;$¬0$→Y$3DEN;$+=5;$→y$; compute y offsets
␈↓ ↓H␈β¬(␈↓∂$1DEN;$→1$2DEN;$¬1$+A$/=2;$→x$; compute x offset
␈↓ ↓H␈β¬F␈↓∂$&FRAC←NUM,XY&DEN,xy&BAR,00;$; make fraction a composite overlay
␈↓ j␈β¬K␈↓-b+SQRT(b␈↓#
2␈↓#-4ac)
␈↓ ↓H␈β¬d␈↓∂$2FRAC;$¬R$→X$4FRAC;$¬;$→Y$OFRAC,XY$; output overlay rightified
␈∧¬w jα↓|␈↓
W␈β¬|␈↓2a
␈↓ α_␈βεC␈↓βHere's␈αa␈αuseful␈αhack␈αusing␈αoverlays.␈α_Suppose␈αyou␈αwant␈αto␈αfind␈αout␈αhow␈αwide␈αa␈αstring␈αof␈αtext␈αis
␈↓ ↓H␈βεa␈↓βin␈α⊂a␈α⊂particular␈α⊂font␈α⊂(or␈α⊂combination␈α⊂of␈α⊂fonts).␈α≡You␈α∂can␈α∂create␈α∂an␈α∂overlay,␈α∂measure␈α∂its␈α∂parameters
␈↓ ↓H␈βε␈␈↓β(1,2,3,4),␈αthen␈αdelete␈αit␈αright␈αaway␈αto␈αreclaim␈αthe␈αspace␈αused␈αby␈αthe␈αoverlay␈α
that␈α
you␈α
won't␈α
actually␈α
be
␈↓ ↓H␈βπ≥␈↓βusing␈α
as␈α
an␈α
overlay.
␈↓ β⊃␈βπT␈↓MACROS (WITHOUT ARGUMENTS) AND REQUIRE SOURCE FILES
␈↓ α_␈βπw␈↓βAll␈αinput␈αto␈αthe␈αPOX␈αtext␈αprocessor␈αpasses␈αthrough␈αa␈αpre-processor␈αwhich␈αinserts␈αmacro␈αbodies,
␈↓ ↓H␈βλ∃␈↓βarguments␈α∞to␈α∞macros,␈α∞and␈α∞requested␈α∞source␈α∞files␈α∞in␈α∞the␈α∞middle␈α∞of␈α∞the␈α∞input␈α∞stream␈α∞according␈α
to␈α
the
␈↓ ↓H␈βλ3␈↓βfollowing␈α
commands:
␈↓ ↓H␈βλO␈↓1␈↓∂∞␈↓¬<NAME><OPEN><BODY><CLOSE>
␈↓ β↔␈βλo␈↓β(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
define␈α
a␈α
macro␈α
for␈α
use␈α
later␈α
--␈α
note␈α
that␈α
in␈α
names␈αof
␈↓ β↔␈β
␈↓βmacros,␈αjust␈αlike␈αalmost␈αeverywhere␈αelse,␈αlower␈αcase␈αis␈αnot␈αthe␈αsame␈αas
␈↓ β↔␈β +␈↓βupper␈α⊂case,␈α⊂thus␈↓∂␈α∂foo␈α∂Foo␈α∂fOO␈α∂FOO␈α∂fOo␈α∂foO␈α∂FoO␈↓β␈α∂and␈↓∂␈α∂FOo␈↓β␈α∂are␈α∂eight
␈↓ β↔␈β D␈↓βdifferent␈α∪names␈α∪--␈α∪also,␈α∩the␈↓¬␈α∩<BODY>␈↓␈α∩is␈α∩not␈α∩evaluated␈α∩during␈α∩this
␈↓ β↔␈β b␈↓definition␈α⊃phase␈↓β,␈α⊃i.e.␈α"the␈α⊃escape␈α⊃character␈α⊃and␈α⊂anything␈α⊂else␈α⊂may
␈↓ β↔␈β
¬␈↓βoccur␈α∞in␈α∞the␈α∞body,␈α
nothing␈α
special␈α
happens␈α
as␈α
the␈α
escape␈α
character␈α
is
␈↓ β↔␈β
#␈↓βcopied␈α∩into␈α∩the␈α∩macro,␈α⊃escape␈α⊃only␈α⊃occurs␈α⊃later␈α⊃when␈α⊃the␈α⊃macro␈α⊃is
␈↓ β↔␈β
A␈↓βactually␈α⊂called,␈α⊂resulting␈α⊂in␈α⊂the␈α∂escape␈α∂character␈α∂and␈α∂everything␈α∂else
␈↓ β↔␈β
←␈↓βgetting␈α
stuffed␈α
into␈α
the␈α
input␈α
stream.
␈↓ ↓H␈β
{␈↓1␈↓∂!␈↓¬<NAME>␈↓∂;␈↓β␈↓ β↔(U␈αJ␈αCR␈αo␈α
A)␈α
--␈α
call␈α
a␈α
macro,␈α
i.e.␈α
insert␈α
body␈α
from␈α
definition␈α
right␈α
here␈α
in
␈↓ β↔␈β≠␈↓βinput␈α∂stream,␈α∂hence␈α∂occurrences␈α∂of␈α∂the␈α∂escape␈α∞character␈α∞in␈α∞the␈α∞body
␈↓ β↔␈β9␈↓βwill␈α
cause␈α
things␈α
to␈α
occur␈α
now␈α
(See␈α
note␈α
1␈α
also)
␈↓ ↓H␈βU␈↓1␈↓∂?␈↓¬<NAME>␈↓∂;␈↓β␈↓ β↔(U␈α∪J␈α∩CR␈α∩o␈α∩A)␈α∩--␈α∩"conditional␈α∩macro"␈α∩--␈α∩same␈α∩syntax␈α∩as␈α∩above␈α∩but
␈↓ β↔␈βu␈↓βgenerate␈α
nothing␈α
unless␈α
accumulator␈α
is␈α
positive␈α
(See␈α
note␈α
3)
␈↓ ↓H␈β/␈↓1␈↓∂@␈↓¬<FILNAM>␈↓∂;␈↓β␈↓ β↔(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
insert␈α
source␈α
file␈α
here␈α
then␈α
return␈α
to␈α
current␈α
file.
␈↓ ↓H␈βM␈↓1␈↓∂α␈↓¬<FILNAM>␈↓∂;␈↓β␈↓ β↔(U)␈α∞--␈α
insert␈α
source␈α
file␈α
here␈α
but␈α
don't␈α
come␈α
back␈α
here␈α
--␈α
the␈α
rest␈α
of
␈↓ β↔␈βm␈↓βthis␈α
file,␈α
and␈α
any␈α
files␈α
that␈α
called␈α
it,␈α
are␈α
not␈α
processed.
␈↓ ↓H␈β
␈↓1␈↓∂∀␈↓¬<FILNAM>␈↓∂;␈↓¬<LIST OF DESIRED MACRO NAMES>␈↓∂;
␈↓ β↔␈β
)␈↓β(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
scan␈α
source␈α
file␈α
that␈α
contains␈α
macro␈α
definitions␈α
(see␈α
next
␈↓ β↔␈β
G␈↓βsection␈αon␈αmacros␈αwith␈αarguments,␈αas␈αwell␈αas␈αthis␈αsection,␈αfor␈αdetails␈αon
␈↓ β↔␈β
e␈↓βthe␈α∞macro␈α∞definitions␈α∞themselves).␈α≤At␈α∞present,␈α∞the␈α
file␈α
must␈α
contain␈α
a
␈↓ β↔␈β∞β␈↓βTV/E␈α
directory␈α
to␈αavoid␈αa␈αbug␈αin␈αPOX.␈α_Nothing␈αin␈αthe␈αfile␈αis␈αprocessed
␈↓ β↔␈β∞!␈↓βunless␈α
it␈α
simultaneously␈α
satisfies␈α
these␈α
conditions:␈α~(1)␈αIt␈αbegins␈αwith␈αa
␈↓ β↔␈β∞?␈↓βbrick␈αcharacter␈αin␈αcolumn␈α1␈αof␈αthe␈αfile,␈αi.e.␈α⊗immediately␈αafter␈αa␈αlinefeed;
␈↓ β↔␈β∞]␈↓β(2)␈α∞It␈α
has␈α
either␈α
a␈↓∂␈α
∞␈↓β␈α
or␈↓∂␈α
8␈↓β␈α
in␈α
column␈α
2,␈α
i.e.␈α
it␈α
is␈α
a␈α
command␈α
to␈α
define␈α
a
␈↓ β↔␈β∞y␈↓βmacro;␈α⊂(3)␈α⊂The␈α⊂name␈α⊂of␈α⊂the␈α⊂macro␈α⊂(in␈α⊂the␈↓␈α∂1␈↓∂∞␈↓β␈α∂or␈↓␈α∂1␈↓∂8␈↓β␈α∂command␈α∂being
␈↓ β↔␈β∂→␈↓βtested)␈α∂is␈α∂a␈α∂member␈α∂of␈↓¬␈α∂<LIST␈α∞OF␈α∞DESIRED␈α∞MACRO␈α∞NAMES>␈↓β␈α∞that␈α∞has␈α∞not␈α∞yet
␈↓ β↔␈β∂5␈↓βbeen␈αused.␈α_In␈αparticular,␈↓␈α1␈↓∂!␈↓¬...␈↓β␈αcommands␈αare␈αnot␈αprocessed,␈αso␈αthat␈αthe
␈↓ ∞␈↓α 14␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 15␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ β↔␈β↓H␈↓βentire␈α⊗library␈α⊗must␈α⊗use␈α⊗the␈α⊗same␈α⊗brick␈α⊗character,␈α⊗and␈α∃this␈α∃brick
␈↓ β↔␈β↓d␈↓βcharacter␈α∂must␈α∂be␈α∂set␈α∞up␈α∞before␈α∞issuing␈α∞the␈↓␈α∞1␈↓∂∀␈↓¬...␈↓β␈α∞command.␈α≤Also,␈↓␈α∞1␈↓∂⊂
␈↓ β↔␈βα∧␈↓βetc.␈α≤commands␈α∞are␈α∞not␈α∞processed,␈α∞so␈α∞that␈α∞all␈α∞bits␈α
needed␈α
for␈α
correct
␈↓ β↔␈βα"␈↓βloading␈α*of␈α*macros,␈α*namely␈α*VERREM='40,␈α*VERRHT='400␈α)and
␈↓ β↔␈βα>␈↓βVERESC='100000,␈α⊂must␈α⊂be␈α∂in␈α∂the␈α∂proper␈α∂state␈α∂before␈α∂issuing␈α∂the␈↓␈α∂1␈↓∂∀
␈↓ β↔␈βα↑␈↓βcommand.␈α"For␈α⊃documentation␈α⊃purposes␈α⊃,␈α⊃any␈α⊂library␈α⊂of␈α⊂POX␈α⊂macros
␈↓ β↔␈βαz␈↓βshould␈α
begin␈α
with␈α
a␈α
comment␈α
(or␈α
a␈↓␈α
1␈↓∂⊂␈↓␈α
1␈↓∂⊃␈↓β␈α
command␈α
pair)␈α
that␈αreminds
␈↓ β↔␈ββ~␈↓βusers␈α
of␈α
the␈α
correct␈α
states␈α
of␈α
these␈α
special-feature␈α
flags.␈α∀--␈α
Example:
␈↓ β7␈ββ6␈↓1␈↓∂∀REMLIB.POX[1,REM];DATIME,PAGENUMS,SUB,SUP,PAGENUMS;
␈↓ β↔␈ββV␈↓βThis␈α⊗loads␈α⊗the␈α⊗second-occurring␈α⊗version␈α⊗of␈α∃PAGENUMS␈α∃on␈α∃top␈α∃of
␈↓ β↔␈ββt␈↓β(replacing)␈α⊃the␈α⊃first,␈α⊂and␈α⊂loads␈α⊂only␈α⊂the␈α⊂first␈α⊂version␈α⊂of␈α⊂each␈α⊂of␈α⊂the
␈↓ β↔␈β∧∩␈↓βother␈α
macros.␈α~It␈αis␈αprobably␈αpreferable␈αto␈αuse␈α"fully-cataloged"␈αnames
␈↓ β↔␈β∧0␈↓βrather␈α∪than␈α∪have␈α∩several␈α∩different␈α∩macros␈α∩by␈α∩the␈α∩same,␈α∩then␈α∩after
␈↓ β↔␈β∧L␈↓βloading␈α⊃to␈α⊃rename␈α⊃each␈α⊂macro␈α⊂(using␈α⊂the␈↓␈α⊂1␈↓∂∂␈↓β␈α⊂command)␈α⊂to␈α⊂a␈α⊂shorter
␈↓ β↔␈β∧l␈↓βname␈α∞that␈α∞will␈α∞be␈α∞used␈α∞locally.␈α≤[REM␈α∞is␈α∞in␈α∞the␈α
process␈α
of␈α
compiling␈α
a
␈↓ β↔␈β¬
␈↓βlibrary␈α
of␈α
some␈α
of␈α
the␈α
generally-useful␈α
and␈α
requested␈α
macros␈α
--␈α1975
␈↓ β↔␈β¬(␈↓βOct-Dec.]
␈↓ ↓H␈β¬D␈↓1␈↓∂β␈↓¬<FILNAM>␈↓∂;␈↓β␈↓ β↔(U␈αJ␈αCR␈αo␈αA)␈α--␈αlookup␈αfile␈αbut␈αdon't␈αread␈αany␈αof␈αit.␈α⊗If␈αthe␈αfile␈αdoes␈αnot
␈↓ β↔␈β¬d␈↓βexist␈α⊃then␈α⊃type␈α⊃the␈α⊃name␈α⊃of␈α⊂the␈α⊂file␈α⊂on␈α⊂the␈α⊂TTY␈α⊂and␈α⊂increment␈α⊂the
␈↓ β↔␈βεα␈↓βcontents␈αof␈αthe␈αac.␈α_Do␈αnot␈αin␈αany␈αcase␈αgenerate␈αan␈αerror␈αor␈αotherwise
␈↓ β↔␈βε ␈↓βaffect␈αthe␈αstate␈αof␈αthe␈αtext␈αcompilation␈αin␈αprogress.␈α∃Useful␈α
for␈α
checking
␈↓ β↔␈βε>␈↓βall␈α∞the␈α∞required␈α∞source␈α∞files␈α∞at␈α∞the␈α∞beginning␈α∞of␈α∞a␈α∞long␈α∞compilation␈α∞to
␈↓ β↔␈βε\␈↓βsave␈α
time␈α
if␈α
several␈αfiles␈αto␈αbe␈αcalled␈αlater␈αare␈αmissing␈αand␈αneed␈αto␈αbe
␈↓ β↔␈βεz␈↓βrestored.␈α≡A␈α∂useful␈α∂technique␈α∂is␈α∂to␈α∂set␈α∂the␈α∂accumulator␈α∞to␈α∞zero,␈α∞then
␈↓ β↔␈βπ⊗␈↓βperform␈α∪one␈↓␈α∪1␈↓∂β␈↓β...␈α∪command␈α∪for␈α∪each␈α∪source␈α∪file␈α∪that␈α∪will␈α∪later␈α∪be
␈↓ β↔␈βπ6␈↓βneeded,␈α∞then␈α
test␈α
the␈α
accumulator␈α
and␈α
if␈α
it␈α
is␈α
now␈α
positive␈α
generate␈α
a
␈↓ β↔␈βπT␈↓βdeliberate␈α∞error␈α∞to␈α∞give␈α∞the␈α∞user␈α∞time␈α∞to␈α∞put␈α∞on␈α∞the␈α∞disk␈α∞all␈α∞the␈α
files
␈↓ β↔␈βπr␈↓βthat␈α∂were␈α∂found␈α∂to␈α∂be␈α∂missing,␈α∂before␈α∂proceeding␈α∂with␈α∂the␈α∂document
␈↓ β↔␈βλ⊂␈↓βcompilation.
␈↓ α_␈βλ.␈↓βIn␈α
the␈α
above,␈↓¬␈α
<FILNAM>␈↓β␈α
is␈α
a␈α
standard␈α
file␈α
name␈↓∂␈α
FILNAM.EXT[P,P]␈↓β␈α
which␈α
must␈α
be␈α
either␈α
a␈α
non-POX
␈↓ ↓H␈βλL␈↓βfile␈α∞with␈α∞no␈α∞occurrences␈α∞of␈α∞the␈α∞brick␈α∞character␈α∞or␈α∞a␈α∞pox␈α∞file␈α∞that␈α∞does␈α∞not␈α∞begin␈α∞with␈α∞a␈α∞bare␈α∞brick
␈↓ ↓H␈βλh␈↓βcharacter␈α⊃i.e.␈α⊃it␈α⊃should␈α⊃begin␈α⊂with␈α⊂something␈α⊂like␈↓␈α⊂1␈↓∂|␈↓1␈↓β,␈↓¬␈α⊂<OPEN>␈↓β␈α⊂and␈↓¬␈α⊂<CLOSE>␈↓β␈α⊂are␈α⊂a␈α⊂matching␈α⊂pair␈α⊂of
␈↓ ↓H␈β λ␈↓βparenthesis␈αsuch␈αas␈↓∂␈α()␈α[]␈α{}␈α⊂⊃␈α<>␈↓β,␈αin␈αwhich␈αcase␈αoccurrences␈αof␈αthese␈αcharacters␈αin␈αthe␈αbody␈αmust
␈↓ ↓H␈β &␈↓βbe␈α
correctly␈α
matched,␈α
or␈α
two␈α
identical␈α
quoting␈α
characters␈α
such␈α
as␈↓∂␈α
""␈α
//␈α
↓↓␈α
⊗⊗␈α
||␈α∂∂␈↓β,␈αin␈αwhich␈αcase
␈↓ ↓H␈β D␈↓βthe␈α∂quoting␈α∂character␈α∂is␈α∂not␈α∂allowed␈α∂to␈α∂occur␈α∂in␈α∂the␈α∂body␈α∂at␈α∂all␈α∂(the␈α∞complete␈α∞current␈α∞list␈α∞of␈α∞legal
␈↓ ↓H␈β b␈↓βnesting␈α
and␈α
quoting␈α
characters␈α
may␈α
be␈α
found␈α
by␈α
examining␈α
the␈α
source␈α
for␈α
POX).
␈↓ α_␈β }␈↓β<UC>␈αare␈αuncoupling␈αflags␈α(in␈↓␈α1␈↓∂@␈↓β␈αcommand,␈αafter␈αfile␈αname,␈αbefore␈α";"),␈αcurrently␈αunimplemented.
␈↓ ↓H␈β
≡␈↓βTheir␈αpurpose␈αwill␈αbe␈αto␈αsave␈αvarious␈αinternal␈αstates␈αbefore␈αbeginning␈αto␈αinput␈αan␈αinserted␈αsource␈αfile,
␈↓ ↓H␈β
<␈↓βthen␈α∃to␈α∃restore␈α∃those␈α∃states␈α∃before␈α∃returning␈α∃so␈α∃that␈α∃the␈α∃inserted␈α∃file␈α∃won't␈α∀pass␈α∀undesired
␈↓ ↓H␈β
Z␈↓βside-effects␈αback␈αto␈αthe␈αmain␈αprogram.␈α∃In␈α
the␈α
absence␈α
of␈α
any␈α
<UC>␈α
flags,␈α
any␈α
macro-definitions␈α
or␈α
font
␈↓ ↓H␈β
x␈↓βcompilations␈αetc.␈αdone␈αin␈αthe␈αinserted␈α
source␈α
file␈α
will␈α
stay␈α
in␈α
effect␈α
after␈α
returning␈α
to␈α
the␈α
current␈α
file,␈α
a
␈↓ ↓H␈β⊗␈↓βsometimes␈α
undesirable␈α
effect.
␈↓ ∧>␈βM␈↓Examples of macros without arguments
␈↓ ↓H␈βp␈↓∂$∞SUPERSCRIPT[$F1$∩$F2]$∞NORMAL[$F1$⊗]$;
␈↓ ↓H␈β∞␈↓∂$!NORMAL;Y = X$!SUPERSCRIPT;i+1$!NORMAL;-1
␈↓ ↓H␈β≥␈↓Y = X␈↓α␈↓#⊂i+1␈↓-1
␈↓ ↓H␈βi␈↓∂$∞SOJGxFOO[$F2(FOO)$←N$-=1;$→N$?SOJGxFOO;]$; set up a count-down-to-zero loop
␈↓ ↓H␈β
π␈↓∂$; note that the above macro will recursively call itself N levels deep
␈↓ ↓H␈β
%␈↓∂$←=15;$→N$!SOJGxFOO;$; call the loop with N=15 to generate 15 copies of (FOO)
␈↓ ↓H␈β
a␈↓α(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)
␈↓ ∞␈↓α 15␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 16␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ β~␈β↓H␈↓MACROS WITH ARGUMENTS -- EVALUATED LIKE LISP EXPR'S
␈↓ α_␈β↓k␈↓βMany␈α
of␈α
the␈αcommands␈αdescribed␈αabove␈αare␈αtoo␈αelementary␈αto␈αbe␈αless␈αthan␈αtedious␈αin␈αpractice,
␈↓ ↓H␈βα ␈↓βeven␈α⊂with␈α⊂macros␈α∂used␈α∂to␈α∂abbreviate␈α∂long␈α∂sequences␈α∂of␈α∂commands.␈α≡Complicated␈α∂things␈α∂are␈α∂almost
␈↓ ↓H␈βα'␈↓βunbearable,␈α∞for␈α∞example␈α∞to␈α∞create␈α∞a␈α∞superscript␈α∞above␈α∞a␈α∞subscript␈α
as␈α
in␈α
"x-sub-i-to-the-nth-power"
␈↓ ↓H␈βαE␈↓βwould␈α
require␈α
quite␈α
a␈α
mess␈α
of␈α
almost␈α
unreadable␈α
code,␈α
such␈α
as:
␈↓ αH␈βαa␈↓1␈↓∂F1␈↓1␈↓∂⊗x␈↓1␈↓∂←.␈↓1␈↓∂→0␈↓1␈↓∂↑=15;␈↓1␈↓∂F2n␈↓1␈↓∂←.␈↓1␈↓∂→1␈↓1␈↓∂←0␈↓1␈↓∂→.␈↓1␈↓∂↓=12;i␈↓1␈↓∂←.␈↓1␈↓∂~1␈↓1␈↓∂→.␈↓1␈↓∂⊗␈↓1␈↓∂F1
␈↓ ↓H␈ββ↓␈↓βwhere␈αyou␈αmay␈αhave␈αtrouble␈αlocating␈αthe␈αterms␈α"␈↓∂x␈↓β",␈α"␈↓∂n␈↓β"␈αand␈α"␈↓∂i␈↓β"␈αamong␈αall␈αthe␈α
overhead.␈α∀Using␈α
macros
␈↓ ↓H␈ββ∨␈↓βwithout␈α⊃arguments␈α⊃may␈α⊃result␈α⊃in␈α⊃some␈α⊃increase␈α⊃in␈α⊃readability.␈α!This␈α⊂can␈α⊂be␈α⊂done␈α⊂in␈α⊂at␈α⊂least␈α⊂two
␈↓ ↓H␈ββ=␈↓βreasonable␈α
ways,␈α
resulting␈α
in:
␈↓ αH␈ββY␈↓1␈↓∂!txt;x␈↓1␈↓∂!savecol;␈↓1␈↓∂!sub;i␈↓1␈↓∂!swapcol;␈↓1␈↓∂!sup;n␈↓1␈↓∂!maxcol;
␈↓ ↓H␈ββw␈↓βor␈↓␈↓ αH1␈↓∂∞main[x]␈↓1␈↓∂∞sub[i]␈↓1␈↓∂∞sup[n]␈↓1␈↓∂!sbp;
␈↓ ↓H␈β∧↔␈↓βMacros␈α∞with␈α∞arguments␈α∞make␈α∞things␈α∞easier␈α∞and␈α∞much␈α∞more␈α∞readable.␈α≤After␈α∞once␈α
defining␈α
the␈α
macro
␈↓ ↓H␈β∧5␈↓∂sbp(main,sub,sup)␈↓β␈α~(see␈α~the␈α~examples␈α→later␈α→in␈α→this␈α→section␈α→for␈α→details)␈α→we␈α→can␈α→generate
␈↓ ↓H␈β∧S␈↓βx-sub-i-to-the-nth-power␈α
by␈α
the␈α
simple:
␈↓ αH␈β∧o␈↓1␈↓∂!sbp(x,i,n);
␈↓ ↓H␈β¬∂␈↓βThe␈α
pseudo-language␈α
we␈α
thus␈αbuild␈αup␈αout␈αof␈αmacros-with-arguments␈αpartially␈αobviates␈αthe␈αnecessity
␈↓ ↓H␈β¬-␈↓βof␈α
fixing␈α
the␈α
"bad"␈α
syntax␈α
that␈α
POX␈α
has.
␈↓ ∧{␈β¬i␈↓βDEFINE MACRO -- VERREM SYNTAX
␈↓ β∞␈βεπ␈↓β(THIS AND FOLLOWING SECTIONS WERE REWRITTEN 1975.NOV.27-DEC.05)
␈↓ ↓H␈βε#␈↓1␈↓∂8␈↓¬<NAME>␈↓∂(␈↓¬<ARGNAMES>␈↓∂)␈↓¬<OPEN><BODY><CLOSE>
␈↓ α?␈βεC␈↓β(U␈α⊂J␈α⊂CR␈α∂o␈α∂A)␈α∂--␈α∂Define␈α∂a␈α∂macro␈α∂with␈α∂arguments␈α∂(up␈α∂to␈↓∂␈α∂'30␈↓β␈α∂arguments␈α∂currently
␈↓ α?␈βεa␈↓βallowed).␈α≠The␈α
VERREM␈α
special-feature␈α
bit␈α
must␈α
be␈α
on␈α
at␈α
the␈α
time␈α
this␈α
command␈α
is
␈↓ α?␈βε␈␈↓βscanned.␈α∀See␈α
details␈α
of␈α
syntax␈α
below.
␈↓ α?␈βπ≥␈↓¬<ARGNAMES>␈↓β␈α--␈αUp␈αto␈↓∂␈α'30␈↓β␈αalphanumeric␈αstrings␈αseparated␈αby␈αcommas.␈α⊗(Note␈αthat␈αthe
␈↓ α?␈βπ;␈↓βcharacters␈α
surrounding␈↓¬␈α
<ARGNAMES>␈↓β␈α
must␈α
be␈α
parenthesis.)
␈↓ α?␈βπY␈↓¬<BODY>␈↓β␈α
--␈α
An␈α
arbitrary␈α
string␈αof␈αtext␈αto␈αbe␈αcopied␈αverbatum␈αinto␈αthe␈α"body"␈αof␈αthe
␈↓ α?␈βπw␈↓βmacro.␈α⊗This␈αtext␈αwill␈αbe␈αspliced␈αinto␈αthe␈αinput␈αstream␈α
later␈α
when␈α
the␈α
macro␈α
is␈α
called
␈↓ α?␈βλ∪␈↓β(see␈α∀the␈↓␈α∀1␈↓∂!␈↓β...␈α(command),␈α∀just␈α∀like␈α∀macros␈α∀without␈α∪arguments.␈α&The␈α∪following
␈↓ α?␈βλ3␈↓βexceptions␈α
to␈α
the␈α
"verbatum"␈α
copying␈α
exist:
␈↓ α?␈βλQ␈↓¬<OPEN>␈↓β␈α∞and␈↓¬␈α∞<CLOSE>␈↓β␈α∞must␈α∞be␈α∞properly-nested␈α
if␈α
they␈α
appear␈α
at␈α
all␈α
inside␈α
the␈α
body.
␈↓ α?␈βλo␈↓βPOX␈α∞counts␈α∞how␈α∞many␈α∞levels␈α∞deep␈α
you␈α
are,␈α
and␈α
only␈α
terminates␈α
parsing␈α
when␈α
the
␈↓ α?␈β
␈↓βdepth␈α
reaches␈α
zero,␈α
i.e.␈αwhen␈αthe␈↓¬␈α<CLOSE>␈↓β␈αappears␈αthat␈αmatches␈αthe␈αoriginal␈↓¬␈α<OPEN>␈↓β.
␈↓ α?␈β +␈↓βOf␈αcourse,␈αif␈αyou␈αuse␈αa␈αquoting␈αpair␈αto␈αdelimit␈αthe␈αbody,␈αthe␈αquoting␈αcharacters␈αmay
␈↓ α?␈β I␈↓βnot␈α
appear␈α
at␈α
all␈α
in␈α
the␈α
body.
␈↓ α?␈β e␈↓1␈↓β␈α⊂(i.e.␈α⊂whatever␈α⊂your␈α⊂brick␈α⊂character␈α⊂is␈α⊂at␈α⊂the␈α⊂time␈α∂you␈α∂define␈α∂the␈α∂macro)␈α∂gets
␈↓ α?␈β
¬␈↓βconverted␈α
into␈α
a␈↓¬␈α
<BRICK>␈↓β␈α
token␈αif␈αthe␈αVERESC␈αspecial-feature␈αbit␈αis␈αon,␈αotherwise␈αit
␈↓ α?␈β
#␈↓βgets␈αcopied␈αverbatum␈αtoo.␈α∃When␈α
the␈↓¬␈α
<BRICK>␈↓β␈α
token␈α
is␈α
seen␈α
later␈α
when␈α
expanding␈α
the
␈↓ α?␈β
?␈↓βmacro,␈αit␈αgets␈αconverted␈αto␈αthe␈↓␈α1␈↓β␈α
character,␈α
which␈α
will␈α
be␈α
a␈α
different␈α
character␈α
from
␈↓ α?␈β
]␈↓βthe␈α⊃original␈α⊃if␈α⊂you␈α⊂have␈α⊂used␈α⊂the␈↓␈α⊂1␈↓∂|␈↓¬<ch>␈↓β␈α⊂to␈α⊂redefine␈α⊂the␈α⊂brick␈α⊂character␈α⊂in␈α⊂the
␈↓ α?␈β
⎇␈↓βmeantime.␈α≤(Without␈α∞the␈α∞VERESC␈α∞feature,␈α∞it␈α∞would␈α∞be␈α∞the␈α∞same␈α∞ASCII␈α∞character␈α∞as
␈↓ α?␈β≠␈↓βbefore,␈α
even␈α
if␈α
it␈α
was␈α
no␈α
longer␈α
the␈α
brick␈α
character.
␈↓ α?␈β9␈↓∂⊗$⊗␈↓β␈α∂gets␈α∂converted␈α∂into␈α∞the␈↓¬␈α∞<BRICK>␈↓β␈α∞token␈α∞regardless␈α∞of␈α∞the␈α∞state␈α∞of␈α∞the␈α∞VERESC
␈↓ α?␈βW␈↓βflag.
␈↓ α?␈βu␈↓∂⊗⊗␈↓β␈α
gets␈α
converted␈α
into␈α
a␈α
␈↓&single␈↓)αβ␈↓∂␈α
⊗␈↓β␈α
character.
␈↓ α?␈β∪␈↓∂⊗␈↓¬<ARGNAME>␈↓∂⊗␈↓β␈α∩(one␈α∩of␈α∩the␈α∩argument-names␈α∩you␈α∩specified␈α∩in␈α∩the␈↓¬␈α∩<ARGNAMES>␈↓β)␈α∩gets
␈↓ α?␈β1␈↓βconverted␈α∞into␈α∞the␈α∞appropriate␈↓¬␈α∞<ARGn>␈↓β␈α∞token.␈α~Later␈α
when␈α
the␈α
macro␈α
is␈α
called,␈α
this
␈↓ α?␈βB␈↓βtoken␈α
is␈α
replaced␈α
by␈α
the␈α
n␈↓#
th␈↓#␈α
actual-argument␈α
string.
␈↓ α?␈βe␈↓∂⊗@␈↓εq␈↓∂⊗␈↓β␈α∩(not␈α∩supported,␈α∩and␈α⊃likely␈α⊃to␈α⊃be␈α⊃purged␈α⊃or␈α⊃differently-implemented␈α⊃soon)
␈↓ α?␈β
␈↓βperforms␈αthe␈αregister-argument␈αlookup␈α
and␈α
uses␈α
the␈α
value␈α
thus␈α
obtained␈α
(must␈α
be␈α
in
␈↓ α?␈β
)␈↓βthe␈α
range␈↓∂␈α
0␈↓β␈α
to␈↓∂␈α
'30␈↓β)␈α
to␈α
generate␈α
the␈α
corresponding␈↓¬␈α
<ARGn>␈↓β␈α
token.
␈↓ α?␈β
G␈↓∂⊗␈↓β...␈↓∂⊗␈↓β␈α∪--␈α∪anything␈α∪else␈α∩after␈α∩a␈↓∂␈α∩⊗␈↓β␈α∩character␈α∩is␈α∩illegal.␈α$An␈α∩error␈α∩will␈α∩usually␈α∩be
␈↓ α?␈β
e␈↓βgenerated␈α
before␈α
the␈α
second␈↓∂␈α
⊗␈↓β␈α
is␈α
seen␈α
(if␈α
there␈α
is␈α
one).
␈↓ ∧j␈β∞!␈↓βCALLING MACROS -- LIKE LISP EXPR'S
␈↓ ↓H␈β∞=␈↓1␈↓∂!␈↓¬<NAME><ARGBATCH><ARGBATCH>␈↓β...␈↓¬<ARGBATCH>␈↓∂;
␈↓ ↓H␈β∞]␈↓βwhere each ␈↓¬<ARGBATCH>␈↓β is of the form ␈↓¬<OPEN><ACTUAL ARGS><CLOSE>
␈↓ ↓H␈β∞{␈↓βand each ␈↓¬<ACTUAL ARGS>␈↓β consists of arguments separated by commas, as described below.
␈↓ α?␈β∂→␈↓β(U␈α⊂J␈α⊂CR␈α⊂o␈α⊂A)␈α⊂--␈α⊂Call␈α⊂a␈α⊂macro␈α⊂with␈α⊂arguments.␈α Each␈↓¬␈α⊂<ARGBATCH>␈↓β␈α⊂unit␈α∂may␈α∂use␈α∂a
␈↓ α?␈β∂7␈↓βdifferent␈↓¬␈α<OPEN>␈α<CLOSE>␈↓β␈αpair␈α(when␈αthe␈↓¬␈α<OPEN>␈↓β␈αis␈αseen,␈αPOX␈αlooks␈αit␈αup␈αin␈αa␈αtable␈αto
␈↓ ∞␈↓α 16␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 17␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ α?␈β↓H␈↓βdetermine␈αwhich␈↓¬␈α
<CLOSE>␈↓β␈α
to␈α
look␈α
for)␈α
selected␈α
from␈α
the␈α
legal␈α
nesting␈α
or␈α
quoting␈α
pairs.
␈↓ α?␈β↓f␈↓βAs␈α
many␈α
arguments␈α
as␈α
desired,␈α
separated␈α
by␈α
commas,␈α
may␈α
appear␈α
in␈α
a␈α
single␈↓¬␈α
<ACTUAL
␈↓ α?␈βα∧␈↓¬ARGS>␈↓β␈αitem,␈αand␈αas␈αmany␈↓¬␈α<ARGBATCH>␈↓β␈αunits␈αmay␈α
appear␈α
altogether␈α
(as␈α
indicated␈α
by␈α
the
␈↓ α?␈βα"␈↓β"..."␈αin␈αthe␈αabove␈αsyntax␈αspecification),␈αproviding␈αthat␈αthe␈αtotal␈αnumber␈αof␈αarguments
␈↓ α?␈βα@␈↓βdoes␈αnot␈αexceed␈↓∂␈α'30␈↓β.␈α_The␈αmost␈αcommon␈αway␈αof␈αdoing␈αit,␈αand␈αthe␈αeasiest,␈αis␈αto␈αuse
␈↓ α?␈βα↑␈↓βordinary␈α
parenthesis,␈α
with␈α
all␈α
arguments␈α
in␈α
a␈α
single␈↓¬␈α
<ARGBATCH>␈↓β␈α
unit,␈α
for␈α
example:
␈↓ βU␈βαz␈↓1␈↓∂!FOO(First argument,Second argument,Third arg);
␈↓ α?␈ββ~␈↓βHowever,␈αif␈αany␈αargument␈αcontains␈αor␈αgenerates␈αa␈αcomma,␈αit␈αis␈αnecessary␈αto␈αturn␈αon
␈↓ α?␈ββ8␈↓βthe␈αVE1LES␈αspecial-feature␈αbit␈α(to␈αprevent␈αcomma␈αfrom␈αdelimiting␈αarguments)␈αand␈αto
␈↓ α?␈ββV␈↓βenclose␈α
each␈α
argument␈α
in␈α
a␈α
separate␈α
set␈α
of␈α
nesting␈α
characters,␈α
such␈α
as:
␈↓ α⎇␈ββr␈↓1␈↓∂!LESHACK(First argument with ",")(Second argument)(Third);
␈↓ α?␈β∧∩␈↓βAlso,␈α⊃if␈α⊃parenthesis␈α⊃occur␈α⊂inside␈α⊂arguments,␈α⊂it␈α⊂is␈α⊂usually␈α⊂necessary␈α⊂to␈α⊂use␈α⊂some
␈↓ α?␈β∧0␈↓βother␈α
nesting␈α
or␈α
quoting␈α
pair,␈α
for␈α
example:
␈↓ β∃␈β∧L␈↓1␈↓∂!MESS<This contains (, [, ", and { inside an argument>;
␈↓ α?␈β∧l␈↓βA␈α$detailed␈α$description␈α$of␈α$the␈α$algorithm␈α$that␈α#is␈α#used␈α#to␈α#scan␈α#the
␈↓ α?␈β¬
␈↓βmacro-with-arguments␈α
syntax,␈α
build␈α
up␈α
arguments,␈α
bind␈α
them␈α
to␈α
the␈↓¬␈α
<ARGn>␈↓β␈α
table␈α
that
␈↓ α?␈β¬(␈↓βis␈αpassed␈αto␈αthe␈αmacro-body␈αexpander,␈αand␈αthe␈αalgorithm␈αthe␈αmacro-body␈αexpander
␈↓ α?␈β¬F␈↓βuses␈α∂to␈α∂splice␈α∂the␈α∂macro␈α∂body␈α∂and␈α∂the␈α∂arguments␈α∞into␈α∞the␈α∞input␈α∞stream,␈α∞is␈α∞given
␈↓ α?␈β¬d␈↓βlater.␈α⊗If␈αyou␈αplan␈αto␈αdo␈αanything␈αcomplicated␈αwith␈αmacros,␈αyou␈αwill␈α
need␈α
to␈α
read␈α
the
␈↓ α?␈βεα␈↓βalgorithm-description␈α∩and␈α∩understand␈α⊃it␈α⊃in␈α⊃order␈α⊃to␈α⊃predict␈α⊃what␈α⊃happens␈α⊃when
␈↓ α?␈βε≡␈↓βvarious␈α
special␈α
characters␈α
(␈↓¬<COMMA>␈α
<OPEN>␈α
<CLOSE>␈↓β␈αand␈↓␈α1␈↓β)␈αare␈αgenerated␈αinside␈αthe
␈↓ α?␈βε>␈↓βscanning-of-arguments␈α
process.␈α→Note␈αthat␈αit␈αis␈αnot␈αlegal␈αto␈αgenerate␈αan␈αASCII␈α'177
␈↓ α?␈βε\␈↓βor␈α∃'0␈α∃character␈α∃while␈α∃preparing␈α∃an␈α∃argument,␈α∃thus␈α∃many␈α∃commands␈α∃(such␈α∃as
␈↓ α?␈βεz␈↓βfont-select)␈α∞are␈α∞illegal␈α∞inside␈α∞arguments.␈α≤By␈α∞quoting␈α∞the␈α∞characters␈α∞that␈α∞make␈α∞up
␈↓ α?␈βπ_␈↓βthe␈α∀command␈α∀(see␈α∪below),␈α∪however,␈α∪the␈α∪evaluation␈α∪of␈α∪such␈α∪commands␈α∪may␈α∪be
␈↓ α?␈βπ6␈↓βpostponed␈αuntil␈αafter␈αthe␈αexpanded␈αmacro␈αhas␈αbeen␈αgenerated␈αand␈αpatched␈αinto␈αthe
␈↓ α?␈βπT␈↓βinput␈α∪stream,␈α∩at␈α∩a␈α∩time␈α∩when␈α∩such␈α∩commands␈α∩are␈α∩legal.␈α$Be␈α∩aware␈α∩that␈α∩other
␈↓ α?␈βπp␈↓βcommands␈α
such␈α
as␈↓␈α
1␈↓∂A␈↓β...␈α
have␈αa␈αslightly␈αdifferent␈αeffect␈αdepending␈αon␈αwhether␈αthey
␈↓ α?␈βλ⊂␈↓βare␈αevaluated␈αwhile␈αscanning␈αan␈αargument␈αor␈αwhile␈αgenerating␈αoutput␈αtext␈αlater,␈α
and
␈↓ α?␈βλ.␈↓βthat␈αcommands␈αthat␈αfetch␈αcontents␈αof␈αregisters␈αetc.␈αwill␈αgive␈αdifferent␈αeffects␈αif␈αthat
␈↓ α?␈βλL␈↓βdata␈α
changes␈α
after␈α
argument-scanning-binding␈α
time.
␈↓ ↓H␈βλh␈↓1␈↓∂?␈↓¬<NAME><OPEN><ACTUAL ARGS><CLOSE><OPEN><A.A.><CLOSE>...␈↓∂;
␈↓ α?␈β λ␈↓β(U␈αJ␈αCR␈αo␈αA)␈α--␈αConditionally␈αcall␈αa␈αmacro␈αwith␈αarguments.␈α_At␈αthe␈αbeginning␈αof␈αthe
␈↓ α?␈β $␈↓βscan,␈αjust␈αafter␈αthe␈α"␈↓1␈↓∂?␈↓β"␈αhas␈αbeen␈αseen,␈αa␈αflag␈αis␈αset␈αaccording␈αto␈αwhether␈αthe␈αac␈α
␈↓&is␈↓)αβ
␈↓ α?␈β B␈↓βpositive␈α
or␈α
not.␈α~Then␈α
all␈αargument␈αscanning␈αetc.␈αis␈αperformed␈αjust␈αlike␈αin␈αthe␈α"␈↓1␈↓∂!␈↓β"
␈↓ α?␈β b␈↓βcommand␈α⊃(indeed,␈α⊃the␈α⊃same␈α⊃piece␈α⊃of␈α⊃code␈α⊃is␈α⊃executed␈α⊃in␈α⊂POX).␈α When␈α⊂the␈α⊂final
␈↓ α?␈β
␈↓βsemicolon␈α∞is␈α∞seen,␈α∞the␈α∞flag␈α∞is␈α∞tested␈α∞to␈α∞determine␈α
whether␈α
the␈α
input-stream␈α
patch
␈↓ α?␈β
≡␈↓βwill␈α∩be␈α∩done␈α∩(if␈α∩the␈α∩ac␈α∩␈↓&was␈↓)αβ␈α∩positive)␈α∩or␈α∩the␈α∩patch␈α∩not␈α∩done␈α∩and␈α⊃the␈α⊃table␈α⊃of
␈↓ α?␈β
<␈↓βarguments␈α
flushed␈α
(if␈α
the␈α
ac␈α
␈↓&was␈↓)αβ␈α
zero␈α
or␈α
negative).
␈↓ β>␈β
x␈↓βDETAILED DESCRIPTION OF ALGORITHM FOR PROCESSING MACROS
␈↓ α_␈β∀␈↓β(1)␈αIf␈αthe␈αcommand␈αwas␈↓␈α1␈↓∂?␈↓β␈αthen␈αthe␈αsplice-enabling␈αflag␈αis␈αset␈αaccording␈αto␈αthe␈αcontents␈αof␈αthe
␈↓ ↓H␈β2␈↓βac,␈αbut␈αif␈αthe␈αcommand␈αis␈↓␈α1␈↓∂!␈↓β␈αthen␈αthe␈αflag␈αis␈αset␈αto␈αTRUE␈αregardless.␈α⊗Text␈αis␈αscanned␈αuntil␈αa␈αdelimiter
␈↓ ↓H␈βR␈↓βis␈α∞seen,␈α∞and␈α∞the␈↓¬␈α∞<NAME>␈↓β␈α∞thus␈α∞scaned␈α∞is␈α∞looked␈α∞up␈α∞in␈α∞the␈α∞table␈α∞of␈α∞existing␈α∞macros.␈α≤The␈α∞body␈α∞of␈α∞the
␈↓ ↓H␈βp␈↓βmacro␈αis␈αsaved␈αto␈αbe␈αused␈αlater,␈αand␈αan␈αempty␈αlist␈αof␈αarguments␈αis␈αset␈αup.␈α⊗The␈αdelimiter␈αat␈αthe␈αend␈αof
␈↓ ↓H␈β∞␈↓βthe␈↓¬␈α
<NAME>␈↓β,␈α
which␈α
should␈α
be␈α
either␈α
a␈α
semicolon␈α
or␈α
an␈α
open-nesting␈α
or␈α
quoting␈α
character,␈α
is␈α
now␈α
tested:
␈↓ α_␈β,␈↓β(2)␈α∞If␈α∞that␈α∞character␈α∞was␈α∞a␈α
semicolon,␈α
then␈α
go␈α
to␈α
(5);␈α
If␈α
it␈α
was␈α
a␈α
legal␈α
open-nesting␈α
or␈α
quoting
␈↓ ↓H␈βJ␈↓βcharacter,␈αthen␈αlook␈α
up␈α
the␈α
corresponding␈α
close-nesting␈α
or␈α
quoting␈α
character␈α
in␈α
the␈α
nesting␈α
table␈α
inside
␈↓ ↓H␈βh␈↓βPOX␈αand␈αsave␈αit␈αfor␈αlater␈αreference,␈αthen␈αset␈αnesting␈αdepth␈αto␈αzero␈αand␈αenter␈αa␈αscanner␈αin␈α
which␈α
input
␈↓ ↓H␈β
ε␈↓βcontinues␈αto␈αbe␈αread␈αand␈αbrick␈αcommands␈αcontinue␈αto␈αbe␈αexecuted␈α
as␈α
they␈α
occur,␈α
but␈α
output␈α
is␈α
fed␈α
into
␈↓ ↓H␈β
$␈↓βan␈α⊃argument-body␈α⊃that␈α⊃is␈α⊃being␈α⊃constructed.␈α"Paragraph␈α⊃(3)␈α⊃describes␈α⊃this␈α⊃scanning␈α⊃process,␈α⊃and
␈↓ ↓H␈β
B␈↓βparagraph␈α
(4)␈α
describes␈α
what␈α
happens␈α
when␈α
brick␈α
commands␈α
are␈α
seen␈α
during␈α
the␈α
scanning.
␈↓ α_␈β
`␈↓β(3)␈α
Read␈α
a␈α
character.
␈↓ α_␈β
}␈↓βIf␈αit␈αis␈αthe␈αclose-nesting␈αor␈αquoting␈αcharacter␈αthen␈αwe␈αdecrement␈αnesting␈αdepth,␈αthen␈αdepending
␈↓ ↓H␈β∞≤␈↓βon␈α
its␈α
resultant␈α
value␈α
do␈α
the␈αfollowing:␈α_DEPTH<0,␈αclose␈αoff␈αthis␈αargument-body,␈αput␈αit␈αin␈αthe␈αtable␈αof
␈↓ ↓H␈β∞:␈↓βarguments,␈α∞read␈α
one␈α
more␈α
character,␈α
and␈α
go␈α
to␈α
(2)␈α
[THIS␈α
IS␈α
THE␈α
ONLY␈α
EXIT␈α
FROM␈α
THIS␈α
(3)␈α
SCANNING
␈↓ ↓H␈β∞X␈↓βLOOP];␈α⊃DEPTH=0,␈α⊃do␈α⊃nothing,␈α⊃continue␈α⊃(3)␈α⊃scanning;␈α⊃DEPTH>0,␈α⊃emit␈α⊃the␈α⊃character␈α⊃(close-nesting␈α⊃or
␈↓ ↓H␈β∞v␈↓βquoting)␈α
into␈α
the␈α
argument-body␈α
and␈α
continue␈α
(3)␈α
scanning.
␈↓ α_␈β∂∀␈↓βElse␈α∂if␈α∂it␈α∂is␈α∂the␈α∂open-nesting␈α∂character␈α∂then␈α∂(assuming␈α∂VERRHT␈α∂is␈α∂enabled)␈α∂increment␈α∞nesting
␈↓ ↓H␈β∂2␈↓βdepth,␈α∂then␈α∂depending␈α∂on␈α∂the␈α∂result␈α∂do␈α∂the␈α∂following:␈α≡DEPTH=1,␈α∂do␈α∞nothing,␈α∞continue␈α∞(3)␈α∞scanning;
␈↓ ∞␈↓α 17␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 18␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ↓H␈β↓H␈↓βDEPTH>1,␈α
emit␈α
the␈α
character␈α
(open-nesting)␈α
into␈α
the␈α
argument-body,␈α
continue␈α
(3)␈α
scanning.
␈↓ α_␈β↓d␈↓βElse␈αif␈αDEPTH>0␈αthen␈αemit␈αthe␈αcharacter␈αinto␈αthe␈αargument-body␈α
(thus␈↓␈α
1␈↓β␈α
and␈↓¬␈α
<COMMA>␈↓β␈α
are␈α
quoted
␈↓ ↓H␈βα∧␈↓βrather␈α
than␈α
being␈α
acted-upon␈α
as␈α
below)␈α
and␈α
continue␈α
(3)␈α
scanning.
␈↓ α_␈βα"␈↓βElse␈αif␈αthe␈αcharacter␈αis␈αa␈αcomma␈αthen␈αdo␈αthe␈αfollowing:␈α∀If␈α
VE1LES␈α
is␈α
on␈α
then␈α
emit␈α
the␈α
comma␈α
into
␈↓ ↓H␈βα@␈↓βthe␈α
argument-body␈αand␈αcontinue␈α(3)␈αscaning;␈αelse␈αclose␈αoff␈αthe␈αargument-body␈αand␈αput␈αit␈αin␈αthe␈αtable
␈↓ ↓H␈βα↑␈↓βof␈α
arguments,␈α
then␈α
open␈α
a␈α
new␈α
argument-body␈α
and␈α
continue␈α
(3)␈α
scanning.
␈↓ α_␈βα|␈↓βElse␈α
if␈α
it␈α
is␈αthe␈αbrick␈αcharacter␈αthen␈αparse␈αthe␈αbrick-command␈αas␈αdescribed␈αin␈α(4),␈αand␈αcontinue
␈↓ ↓H␈ββ~␈↓β(3)␈α
scanning␈α
when␈α
done.
␈↓ α_␈ββ8␈↓β(4)␈α∀Brick-commands␈α∀are␈α∀parsed␈α∀in␈α∪the␈α∪usual␈α∪way,␈α∪except␈α∪that␈α∪certain␈α∪commands␈α∪(such␈α∪as
␈↓ ↓H␈ββV␈↓βfont-select)␈αare␈αnot␈αimplemented␈αbecause␈αthey␈αemit␈αrubouts␈αwhich␈αare␈αnot␈αpermitted␈α
in␈α
arguments,␈α
and
␈↓ ↓H␈ββt␈↓βa␈α⊃few␈α⊃other␈α⊃commands␈α⊃that␈α⊃do␈α⊃strange␈α⊃things␈α⊂are␈α⊂also␈α⊂not␈α⊂implemented.␈α When␈α⊂considering␈α⊂brick
␈↓ ↓H␈β∧∩␈↓βcommands␈α⊂that␈α⊂generate␈α⊂text,␈α⊂it␈α⊂is␈α⊂important␈α⊂to␈α⊂distinguish␈α⊂between␈α⊂those␈α∂commands␈α∂which␈α∂emit␈α∂a
␈↓ ↓H␈β∧.␈↓βcharacter␈α∞into␈α∞the␈α∞output␈α∞stream␈α∞(the␈α∞argument␈α∞body)␈α∞directly␈α∞(these␈α∞commands␈α∞are␈↓␈α
1␈↓∂"␈↓¬<CH>␈↓␈α
11␈↓β␈α
and
␈↓ ↓H␈β∧F␈↓1␈↓∂A␈↓εq␈↓β)␈αand␈αthose␈αwhich␈αsplice␈αtext␈αinto␈αthe␈αinput␈αstream␈α(these␈αcommands␈αare␈↓␈α1␈↓∂D␈↓εq␈↓␈α1␈↓∂!␈↓β...␈↓␈α1␈↓∂?␈↓β...␈↓␈α1␈↓∂@␈↓β...␈α⊗and
␈↓ ↓H␈β∧j␈↓1␈↓∂α␈↓β...).␈α~In␈α
the␈α
latter␈α
group␈α
of␈α
commands,␈α
the␈α
spliced␈αtext␈αwill␈αbe␈αseen␈αlater␈αby␈αthe␈α(3)␈αscanner,␈αand␈αif
␈↓ ↓H␈β¬
␈↓βthe␈αspliced␈αtext␈αcontains␈αany␈αof␈αthe␈αspecial␈αcharacters␈αmentioned␈αin␈α
(3),␈α
then␈α
the␈α
corresponding␈α
special
␈↓ ↓H␈β¬(␈↓βeffect␈αwill␈αof␈αcourse␈αoccur.␈α_(It␈αis␈αgenerally␈αa␈αgood␈αidea␈αto␈αavoid␈αthis␈αexcept␈αin␈αthose␈αcases␈αwhen␈αsuch
␈↓ ↓H␈β¬F␈↓βcomplicated␈α⊃things␈α⊃are␈α⊃actually␈α⊃needed␈α⊃to␈α⊃achieve␈α⊃a␈α⊃complicated␈α⊃effect,␈α⊃as␈α⊂shown␈α⊂in␈α⊂some␈α⊂of␈α⊂the
␈↓ ↓H␈β¬d␈↓βadvanced␈α
examples␈α
below.)
␈↓ α_␈βε␈↓βThe␈↓␈α⊂1␈↓∂!␈↓β␈α⊂and␈↓␈α∂1␈↓∂?␈↓β␈α∂commands␈α∂are␈α∂especially␈α∂interesting␈α∂when␈α∂they␈α∂not␈α∂only␈α∂are␈α∂executed␈α∂while
␈↓ ↓H␈βε ␈↓βscanning␈α~an␈α~argument␈α~but␈α~they␈α~contain␈α~arguments␈α~themselves.␈α4What␈α~happens␈α~is␈α→that␈α→all
␈↓ ↓H␈βε>␈↓βstatus-information␈αabout␈αthis␈αlevel␈αof␈αargument-scaning␈α(inside␈αthe␈αparsing␈αof␈αthe␈αmacro-call␈αcommand
␈↓ ↓H␈βε\␈↓βthat␈α
began␈α
earlier)␈α
is␈αsaved␈αon␈αthe␈αstack,␈αand␈αthis␈αpiece␈αof␈αcode␈αin␈αPOX␈α(i.e.␈α(1)␈αthru␈α(5)␈αas␈αdescribed
␈↓ ↓H␈βεz␈↓βhere)␈αis␈αentered␈αrecursively␈αto␈αparse␈αthe␈αnew␈αlevel␈αof␈αmacro-call␈αand␈αarguments␈α
to␈α
it.␈α∀Then␈α
when␈α
that
␈↓ ↓H␈βπ_␈↓βlevel␈α
of␈α
this␈α
piece␈αof␈αcode␈αreturns,␈αafter␈αsplicing␈αthe␈αinput␈αstream,␈αthat␈αstatus-information␈αis␈αrestored
␈↓ ↓H␈βπ6␈↓βand␈α∂scanning␈α∂is␈α∂resumed␈α∞at␈α∞this␈α∞level␈α∞as␈α∞if␈α∞nothing␈α∞had␈α∞happened␈α∞(except,␈α∞of␈α∞course,␈α∞that␈α∞since␈α∞the
␈↓ ↓H␈βπT␈↓βinput␈α
stream␈αhas␈αbeen␈αspliced,␈αthe␈αoutput␈αfrom␈αthat␈αlower-level␈αof␈αmacro-expansion␈αwill␈αnow␈αbe␈αseen
␈↓ ↓H␈βπr␈↓βby␈α
the␈α
scanner␈α
at␈α
this␈α
level).
␈↓ α_␈βλ⊂␈↓βUsers␈αof␈αLISP␈α1.6␈αand␈αvariants␈αthereof␈αwill␈αnote,␈αin␈αthe␈αcase␈αwhere␈α
no␈α
parsing␈α
side-effects␈α
occur
␈↓ ↓H␈βλ.␈↓β(i.e.␈α∞when␈↓¬␈α∞<COMMA>␈α∞<OPEN>␈↓β␈α∞and␈↓¬␈α∞<CLOSE>␈↓β␈α∞are␈α∞not␈α∞included␈α∞in␈α∞the␈α∞spliced␈α∞text)␈α∞and␈α∞there␈α∞is␈α
exactly␈α
one
␈↓ ↓H␈βλL␈↓βmacro␈αcall␈αor␈αone␈αquoted␈αstring␈αof␈αtext␈αin␈αeach␈αargument,␈αthat␈αthe␈αfinal␈αresult␈αof␈αPOX␈αmacro␈αexpansion
␈↓ ↓H␈βλj␈↓βis␈α⊂exactly␈α⊂the␈α⊂same␈α⊂as␈α⊂the␈α∂corresponding␈α∂LISP␈α∂s-expression␈α∂EVALuation␈α∂in␈α∂which␈α∂every␈α∂function␈α∂is
␈↓ ↓H␈β λ␈↓βeither␈α
an␈α
EXPR␈α
or␈α
a␈α
MACRO.␈α∀For␈α
example,
␈↓ ∧O␈β $␈↓1␈↓∂!FOO(␈↓1␈↓∂!BAZ(␈↓1␈↓∂!FB;);,␈↓1␈↓∂!GAR(FG););
␈↓ ↓H␈β D␈↓βis␈α∩equivalent␈α∩to␈α∩the␈α∩s-expression␈↓∂␈α∩(FOO␈α∩(BAZ␈α∩(FB))␈α∩(GAR␈α∩(QUOTE␈α∩FG)))␈↓β.␈α$In␈α∩POX␈α⊃there␈α⊃is␈α⊃the
␈↓ ↓H␈β b␈↓βadditional␈α∂facility␈α∂of␈α∂appending␈α∂together␈α∂the␈α∂strings␈α∂that␈α∂are␈α∂generated␈α∂by␈α∞multiple␈α∞macro-calls␈α∞and
␈↓ ↓H␈β
␈↓βquoted␈α
strings␈α
in␈α
a␈α
single␈α
argument,␈α
for␈α
example:
␈↓ ¬+␈β
≤␈↓1␈↓∂!FOO(BAZ␈↓1␈↓∂!GAR(FG););
␈↓ ↓H␈β
<␈↓βis␈α
roughly␈α
equivalent␈α
to␈↓∂␈α
(FOO␈α
(APPEND␈α
(QUOTE␈α
BAZ)␈α
(GAR␈α
(QUOTE␈α
FG))))␈↓β␈α
or␈α
something␈α
like␈α
that.
␈↓ α_␈β
Z␈↓β(5)␈α[The␈αonly␈αway␈αto␈αreach␈αthis␈αpiece␈αof␈αcode␈αis␈αto␈αjump␈αhere␈αfrom␈α(2)␈αafter␈αseeing␈αa␈αsemicolon
␈↓ ↓H␈β
x␈↓βthere.]␈α~If␈α
the␈α
splice-enabling␈α
flag␈α
was␈α
not␈α
set␈α
above,␈α
then␈α
all␈α
the␈αarguments␈αscanned␈αin␈α(3)␈αetc.,␈αand
␈↓ ↓H␈β⊗␈↓βthe␈α
macro␈α
body␈α
saved␈α
in␈α
(1),␈αare␈αnow␈αflushed␈α(the␈αonly␈αpurpose␈αof␈αall␈αthis␈αscanning␈αwas␈αto␈αmake␈αthe
␈↓ ↓H␈β4␈↓βsyntax␈αcome␈αout␈αright␈αat␈αthis␈αlevel,␈αalthough␈αany␈αside-effects␈α(such␈αas␈αstoring␈αa␈αvalue␈αin␈αa␈αregister␈αor
␈↓ ↓H␈βR␈↓βdefining␈α
a␈α
macro␈α
or␈α
overlay)␈α
during␈α
scanning␈α
arguments␈α
will␈α
of␈α
course␈α
remain␈α
done);␈α
If,␈α
however,␈αthe
␈↓ ↓H␈βp␈↓βsplice-enabling␈αflag␈α␈↓&was␈↓)αβ␈αset,␈αthen␈αthe␈αcurrent␈αinput␈αstream␈αis␈αnow␈αIOPUSHed␈αso␈αthat␈αit␈αcan␈αbe␈αresumed
␈↓ ↓H␈β∞␈↓βlater␈α∩when␈α∩the␈α⊃expanded␈α⊃macro␈α⊃we␈α⊃are␈α⊃generating␈α⊃has␈α⊃become␈α⊃exhausted,␈α⊃and␈α⊃the␈α⊃input␈α⊃is␈α⊃now
␈↓ ↓H␈β,␈↓βswitched␈αto␈αthe␈αmacro␈αbody␈αwe␈αlooked␈αup␈αand␈αset␈αaside␈αin␈α(1)␈αabove,␈αwith␈αthe␈αlist␈αof␈αargument-bodies
␈↓ ↓H␈βJ␈↓βstanding␈αby␈αto␈αbe␈αreferenced␈αwhenever␈αan␈↓¬␈α<ARGn>␈↓β␈αtoken␈αappears␈αin␈αthe␈αmacro␈αbody.␈α⊗In␈αany␈αcase,␈αthis
␈↓ ↓H␈βh␈↓βlong-winded␈α∞piece␈α∞of␈α∞code␈α∞for␈α∞scanning␈α∞macro-calls␈α∞now␈α∞returns␈α
control␈α
to␈α
whoever␈α
called␈α
it␈α
at␈α
this
␈↓ ↓H␈β
ε␈↓βlevel.␈α (The␈α⊂equivalent␈α⊂thing␈α⊂in␈α⊂LISP␈α⊂1.6␈α⊂evaluation␈α⊂of␈α⊂s-expressions␈α⊂is␈α⊂that␈α⊂the␈α⊂call␈α∂to␈α∂an␈α∂MACRO
␈↓ ↓H␈β
$␈↓βgenerates␈αan␈αexpression␈αwhich␈αis␈αthen␈αre-evaluated␈αby␈αthe␈αimplicit␈αEVAL␈αthat␈αcalled␈αit␈αwhile␈α
evaluating
␈↓ ↓H␈β
B␈↓βarguments␈αto␈αa␈αhigher␈αEXPR␈αor␈αMACRO␈α--␈αyou␈αmay␈αalso␈αcompare␈αPOX␈αmacros␈αto␈αEXPR's,␈αwhich␈α
produce
␈↓ ↓H␈β
`␈↓βthe␈αsame␈αeffect␈αas␈αMACROs,␈αalthough␈αby␈αa␈αdifferent␈αmechanism␈α--␈αof␈αcourse,␈αthis␈αparallel␈αbreaks␈αdown
␈↓ ↓H␈β
}␈↓βif␈α∀commas␈α∀or␈α∀unmatched␈α∀nesting␈α∀characters␈α∀are␈α∀returned,␈α∪in␈α∪which␈α∪case␈α∪rather␈α∪bizarre␈α∪parsing
␈↓ ↓H␈β∞≤␈↓βside-effects␈α
can␈α
occur␈α
in␈α
POX␈α
--␈α
in␈α
this␈α
respect,␈α
LISP␈α
is␈α
cleaner,␈α
the␈α
only␈α
way␈α
to␈αmake␈αsimilar␈αthings
␈↓ ↓H␈β∞:␈↓βhappen␈α∂is␈α∂to␈α∂explicitly␈α∂mung␈α∂the␈α∂stack.)␈α≡See␈α∂(6)␈α∞for␈α∞what␈α∞actually␈α∞happens␈α∞now␈α∞when␈α∞higher-level
␈↓ ↓H␈β∞X␈↓βroutines␈αattempt␈αto␈αinput␈αcharacters␈αfrom␈αthe␈αmacro-body␈αwith␈αargument-list␈αthat␈αnow␈αconstitutes␈αthe
␈↓ ↓H␈β∞v␈↓βinput␈α
stream.
␈↓ ∞␈↓α 18␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 19␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ αH␈β↓H␈↓βDESCRIPTION OF ALGORITHM FOR READING TEXT FROM A COMPOSITE INPUT STREAM
␈↓ α_␈β↓f␈↓β(6)␈αWhen␈αany␈αroutine␈αrequests␈α
to␈α
input␈α
a␈α
character,␈α
the␈α
character␈α
comes␈α
from␈α
either␈α
an␈α
input␈α
file
␈↓ ↓H␈βα∧␈↓βor␈αa␈αmacro-body␈αor␈αan␈αargument-body␈α(which␈αis␈αtreated␈αexactly␈αlike␈αa␈αmacro-body␈αexcept␈αthat␈αthe␈αlist
␈↓ ↓H␈βα"␈↓βof␈αarguments␈αis␈αalways␈αnull␈αin␈αthis␈αcase,␈αi.e.␈αarguments␈αcannot␈αthemselves␈αhave␈αarguments).␈α⊗When␈αany
␈↓ ↓H␈βα@␈↓βfile␈α
or␈α
macro-body␈α
is␈α
exhausted,␈α
an␈α
IOPOP␈α
occurs,␈α
so␈α
that␈α
input␈α
continues␈αfrom␈αthe␈αnext-higher␈αinput
␈↓ ↓H␈βα↑␈↓βstream␈α∂that␈α∞was␈α∞suspended␈α∞earlier.␈α≤(When␈α∞the␈α∞top-level␈α∞file␈α∞is␈α∞exhausted,␈α∞an␈α∞END-OF-FILE␈α∞signal␈α∞is
␈↓ ↓H␈βα|␈↓βpassed␈α
up␈α
and␈α
causes␈α
POX␈α
to␈α
close␈α
out␈αprocessing␈αand␈αexit.)␈α_Finally,␈αif␈αa␈αspecial␈αtoken␈αis␈αseen␈αwhile
␈↓ ↓H␈ββ~␈↓βreading␈α∪from␈α∩a␈α∩macro-body,␈α∩the␈α∩following␈α∩actions␈α∩are␈α∩automatically␈α∩taken:␈α$The␈↓¬␈α∩<BRICK>␈↓β␈α∩token␈α∩is
␈↓ ↓H␈ββ6␈↓βreplaced␈α
by␈α
the␈α
current␈↓␈α
1␈↓β␈α
character;␈α
The␈↓¬␈α
<ARGn>␈↓β␈α
token␈α
(if␈α
the␈α
table␈α
of␈α
arguments␈α
contains␈α
at␈α
least␈α
n
␈↓ ↓H␈ββV␈↓βarguments)␈αcauses␈αan␈αIOPUSH␈αof␈αthe␈αmacro-body␈α
(with␈α
associated␈α
table␈α
of␈α
arguments),␈α
and␈α
causes␈α
input
␈↓ ↓H␈ββg␈↓βto␈αbe␈αswitched␈αto␈αthat␈αn␈↓#
th␈↓#␈αargument-body,␈αwhich␈αwill␈αnow␈αbe␈αused␈αuntil␈αit␈αis␈αexhausted,␈αat␈αwhich␈αtime
␈↓ ↓H␈β∧∩␈↓βthe␈α
original␈α
macro-body␈α
will␈α
resume.
␈↓ ∧U␈β∧I␈↓Examples of macros with arguments
␈↓ ↓H␈β∧l␈↓βHere's␈α
the␈↓∂␈α
sbp␈↓β␈α
macro␈α
definition␈α
referred-to␈α
earlier,␈α
and␈α
also␈α
used␈α
later␈αto␈αdemonstrate␈αthe␈αargument
␈↓ ↓H␈β¬
␈↓βbinding-evaluation␈α
process:
␈↓ αH␈β¬&␈↓1␈↓∂8sbp(main,sub,sup)[␈↓1␈↓∂F1␈↓1␈↓∂⊗⊗⊗main⊗␈↓1␈↓∂←.␈↓1␈↓∂→0␈↓1␈↓∂↑=15;␈↓1␈↓∂F2⊗sup⊗␈↓1␈↓∂←.␈↓1␈↓∂→1␈↓1␈↓∂N
␈↓ αH␈β¬D␈↓1␈↓∂←0␈↓1␈↓∂→.␈↓1␈↓∂↓=12;⊗sub⊗␈↓1␈↓∂←.␈↓1␈↓∂~1␈↓1␈↓∂→.␈↓1␈↓∂⊗⊗␈↓1␈↓∂F1]
␈↓ ∧)␈β¬⎇␈↓Detailed examples of argument evaluation
␈↓ α.␈βε ␈↓∧(The macros called from here, and the fonts used here, are defined in 75224.LMD[1,REM].)
␈↓ ↓H␈βε>␈↓∂\!sbp(X,i-1,n);␈↓ ∧H\;Nothing special here, matching nesting characters, commas
␈↓ ↓H␈βεZ␈↓∧X␈↓¬␈↓#si-1␈↓#
␈↓ ↓Xn␈↓#
␈↓ ↓H␈βπ*␈↓∂\!sbp(X)(i-1)(n);␈↓ ∧H\;One of several other ways to do the same thing
␈↓ ↓H␈βπF␈↓∧X␈↓¬␈↓#si-1␈↓#
␈↓ ↓Xn␈↓#
␈↓ α*␈βλ∃␈↓∧(You must do ␈↓1␈↓∂⊂'400;␈↓∧ or equivalent before the syntax of nesting (below) will be allowed.)
␈↓ ↓H␈βλ5␈↓∂\!sbp(X,(\f9i)-1,(\f9n));␈↓ ¬H\;Inside multiple-nested, everything is quoted
␈↓ ↓H␈βλS␈↓∂\; Thus evaluation of \f9i doesn't occur while binding, but later
␈↓ ↓H␈βλo␈↓∧X␈↓ ␈↓#si␈↓¬␈↓#s-1␈↓ ␈↓#
␈↓ ↓Xn␈↓#
␈↓ ↓H␈β ,␈↓∂\; \!sbp(X,\f9i-1,\f9n); would not have worked
␈↓ ↓H␈β h␈↓∂\!sbp(X,(i,j+1),n);␈↓ ∧H\;Even commas are quoted rather than breaking to next arg
␈↓ ↓H␈β
∧␈↓∧X␈↓¬␈↓#si,j+1␈↓#
␈↓ ↓Xn␈↓#
␈↓ ↓H␈β
T␈↓∂\!sbp[X,i,(n)];␈↓ ∧H\;Nesting only applies to the particular nesting pair in use
␈↓ ↓H␈β
p␈↓∧X␈↓¬␈↓#si␈↓#
␈↓ ↓X(n)␈↓#
␈↓ ↓H␈β@␈↓∂\!sbp(X,i,((n)));␈↓ ∧H\;Only the pair at comma-level are snarfed
␈↓ ↓H␈β\␈↓∧X␈↓¬␈↓#si␈↓#
␈↓ ↓X(n)␈↓#
␈↓ ↓H␈β,␈↓∂\!sig;\!sbp(,i=1,n);␈↓ ∧H\;Null args are just as good as any others
␈↓ ↓H␈βH␈↓∞␈↓#sS␈↓¬␈↓#si=1␈↓#
␈↓ ↓ln␈↓#
␈↓ ↓H␈β
#␈↓∂\!sbp(NESTING CHARACTERS:,⊗⊗//↓↓∂∂||""∧∧∨∨∪∪∩∩↑↑!!$$%%)|() [] {} <> ≤≥ ⊂⊃ →←|;\;
␈↓ ↓H␈β
A␈↓∂\;Sometimes you want to pick a nesting character you aren't using in the body
␈↓ ↓H␈β
]␈↓∧NESTING CHARACTERS:␈↓¬␈↓#s⊗⊗//↓↓∂∂||""∧∧∨∨∪∪∩∩↑↑!!$$%%␈↓#
␈↓ βk() [] {} <> ≤≥ ⊂⊃ →←␈↓#
␈↓ ↓H␈β∞-␈↓∂\!sbp[X,f(i,j),n+2];␈↓ ∧H\;Avoid expressions like this, their implementation may change
␈↓ ↓H␈β∞I␈↓∧X␈↓¬␈↓#sf(i␈↓#
␈↓ ↓Xj)␈↓#
␈↓ ↓H␈β∂→␈↓∂\; -- Define a bunch of month names as if they were elements of an array almost
␈↓ ↓H␈β∂7␈↓∂\∞MONTH1⊂January⊃\∞MONTH2⊂February⊃\∞MONTH3⊂March⊃\;
␈↓ ∞␈↓α 19␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 20␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ↓H␈β↓H␈↓∂\∞MONTH4⊂April⊃\∞MONTH5⊂May⊃\∞MONTH6⊂June⊃\;
␈↓ ↓H␈β↓f␈↓∂\∞MONTH7⊂July⊃\∞MONTH8⊂August⊃\∞MONTH9⊂September⊃\;
␈↓ ↓H␈βα∧␈↓∂\∞MONTH10⊂October⊃\∞MONTH11⊂November⊃\∞MONTH12⊂December⊃\;
␈↓ ↓H␈βα@␈↓∂\8MONTH(NSTR)[\!MONTH⊗NSTR⊗;]\; -- Generates the name of month, takes decimal string
␈↓ ↓H␈βα|␈↓∂\u'400101;\;␈↓ εHACCTIM UUO = CALLI 400101
␈↓ ↓H␈ββ~␈↓∂\L=-18;\/=31;\→D\%=12;\+=1;\→M\;␈↓ εHMonth number in register M now.
␈↓ ↓H␈ββ8␈↓∂\!MONTH(\DM);\; ␈↓ ¬H(1) Scan and evaluate and bind argument, resulting
␈↓ ↓H␈ββV␈↓∂\;␈↓ ¬H in effectively \!MONTH(4); if this is still April
␈↓ ↓H␈ββt␈↓∂\;␈↓ ∧H(2) Call macro with argument list to generate a splice
␈↓ ↓H␈β∧∩␈↓∂\;␈↓ ∧H in the input stream, which reads: \!MONTH4;
␈↓ ↓H␈β∧0␈↓∂\;␈↓ βH(3) Continue reading characters from whatever the input stream is now,
␈↓ ↓H␈β∧N␈↓∂\;␈↓ βH namely the string \!MONTH4; followed by the rest of the input file.
␈↓ ↓H␈β∧l␈↓∂\;␈↓ αH(4) The \!MONTH4; now binds an empty list of args, calls the macro MONTH4,
␈↓ ↓H␈β¬
␈↓∂\;␈↓ αH and splices the string April into the input stream, which is then read
␈↓ ↓H␈β¬(␈↓∂\;␈↓ αH and output in the current mode (pass-as-is in this example).
␈↓ ↓H␈β¬F␈↓∧November
␈↓ ↓H␈βεα␈↓∧LISP␈αprogrammers␈αwill␈αnote␈αthat␈αthis␈αis␈αquite␈αsimilar␈αto␈αthe␈αway␈αEXPRs␈αare␈αevaluated␈αin␈αLISP.␈α⊗In␈αfact,␈αthe
␈↓ ↓H␈βε ␈↓∧following␈αmacro␈αdefinition␈αwill␈αcreate␈αa␈αmacro␈αthat␈αacts␈αlike␈αEVAL␈αin␈αLISP,␈αnamely␈αEVAL(expression)␈αcauses
␈↓ ↓H␈βε>␈↓∧expression␈α
to␈α
get␈αevaluated␈αtwice,␈αonce␈αwhile␈αevaluating␈αand␈αbinding␈αarguments,␈αand␈αthen␈αagain␈αwhen␈αthe
␈↓ ↓H␈βε\␈↓∧result␈α∞of␈α∞the␈α∞macro␈α∞expansion␈α∞is␈α∞seen␈α∞in␈α∞the␈α∞input␈α∞stream.␈α~The␈α
usefulness␈α
of␈α
this␈α
is␈α
that␈α
you␈α
can␈α
patch
␈↓ ↓H␈βεz␈↓∧together␈α∞various␈α∞strings,␈α∞some␈α∞quoted␈α∞(you␈α∞get␈α∞what␈α∞you␈α∞had␈α∞in␈α∞the␈α
input␈α
file)␈α
and␈α
some␈α
resulting␈α
from
␈↓ ↓H␈βπ↔␈↓∧macro␈αcalls␈αor␈αcommands␈αlike␈↓␈α1D␈↓∧,␈αand␈αthen␈αthe␈αresultant␈αstring␈αgets␈αevaluated␈α
as␈α
if␈α
it␈α
had␈α
been␈α
in␈α
your␈α
input
␈↓ ↓H␈βπ7␈↓∧file␈α
all␈α
along.␈α~For␈α
example,␈α
the␈α
above␈α
effect␈α
of␈α
MONTH(NSTR)␈α
can␈α
be␈α
obtained␈α
by␈α
calling␈αEVAL␈αwith␈αthe
␈↓ ↓H␈βπU␈↓∧appropriately␈α
constructed␈α
argument.
␈↓ ↓H␈βπs␈↓∂\8EVAL(expr)[⊗expr⊗]\;␈↓ εHAs described above
␈↓ ↓H␈βλ⊃␈↓∂\!EVAL[[\!MONTH(]\DM);];\;␈↓ ¬H(1) The following is output to the argument body:
␈↓ ↓H␈βλ/␈↓∂\;␈↓ ¬H (a) The quoted string \!MONTH
␈↓ ↓H␈βλM␈↓∂\;␈↓ ¬H (b) The decimal string value of register M
␈↓ ↓H␈βλk␈↓∂\;␈↓ ¬H (c) The close-parenthesis and semicolon
␈↓ ↓H␈β ␈↓∂\;␈↓ ∧H(2) The string spliced in is \!MONTH(4); if this is still april
␈↓ ↓H␈β '␈↓∂\!EVAL[\\!MONTH(\DM);];\; An older way that still works, quote the escape character by \\
␈↓ ↓H␈β E␈↓∂\; -- you see it below done both ways on the same line, no difference in effect --
␈↓ ↓H␈β c␈↓∧NovemberNovember
␈↓ ↓H␈β
∨␈↓∂\; Evaluate a macro and use the result as a brick command to evaluate:
␈↓ ↓H␈β
=␈↓∂\!EVAL(\\\!FOO;);\; Like \\!FOO; parsed right-to-left sort-of
␈↓ ↓H␈β
y␈↓∂$8RECURSExFOO(N)[$F3(FOO)$←=⊗N⊗;$-=1;$?RECURSExFOO($D∀);]
␈↓ ↓H␈β↔␈↓∂$; the above macro explicitly calls itself with one less than its argument
␈↓ ↓H␈β5␈↓∂$!RECURSExFOO{15};$; {} are just as good as () in such places as here
␈↓ ↓H␈β∂␈↓β(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)
␈↓ α_␈βi␈↓βHere␈α∞is␈α∞a␈α∞macro␈α∞that␈α∞can␈α∞be␈α∞used␈α∞to␈α∞compile␈α∞page␈α∞numbers␈α∞into␈α∞a␈α
table␈α
of␈α
contents␈α
or␈α
index,
␈↓ ↓H␈β
π␈↓βproviding␈α∪that␈α∪the␈α∪contents␈α∩or␈α∩index␈α∩appears␈α∩in␈α∩the␈α∩output␈α∩file␈α∩after␈α∩all␈α∩referenced␈α∩items␈α∩have
␈↓ ↓H␈β
%␈↓βoccurred.␈α$This␈α∩is␈α∩the␈α∩macro␈α⊃used␈α⊃in␈α⊃the␈α⊃POX␈α⊃writeup␈α⊃to␈α⊃make␈α⊃the␈α⊃contents␈α⊃and␈α⊃appendix␈α⊃page
␈↓ ↓H␈β
C␈↓βreferences.
␈↓ αH␈β
a␈↓∂$8DEFCONT(ITEM)[$!EVAL(($∞CX⊗ITEM⊗{)$←#$¬=10;$?SPACEXY;$D#(}));]$;
␈↓ α_␈β
␈␈↓βThe␈αthree␈αtypes␈αof␈αnesting␈αcharacters,␈↓∂␈α[]␈α()␈↓β␈αand␈α{},␈αare␈αused␈αto␈αisolate␈αnesting␈αprocessing␈αinto
␈↓ ↓H␈β∞≥␈↓βthree␈αlevels␈αin␈αwhich␈αthe␈αother␈αnesting␈αcharcters␈αare␈αpassed␈α
as␈α
text.␈α∀This␈α
macro␈α
assumes␈α
that␈α
register
␈↓ ↓H␈β∞;␈↓∂#␈↓β␈α∪always␈α∪contains␈α∩the␈α∩correct␈α∩page␈α∩number,␈α∩and␈α∩that␈α∩there␈α∩is␈α∩a␈α∩macro␈α∩called␈α∩"SPACEXY"␈α∩which
␈↓ ↓H␈β∞Y␈↓βgenerates␈αan␈αASCII␈α040␈α(space)␈αcharacter␈αto␈αbe␈αused␈αas␈αzero-fill␈αto␈αthe␈αleft␈αof␈αone-digit␈αnumbers,␈αand
␈↓ ↓H␈β∞w␈↓βthat␈α
page␈α
numbers␈α
above␈α
99␈α
do␈α
not␈α
occur.␈α~Here's␈α
a␈α
detailed␈α
description␈αof␈αwhat␈αhappens␈αwhen␈αthis
␈↓ ↓H␈β∂∃␈↓βmacro␈α
is␈α
used:
␈↓ α_␈β∂3␈↓∂$8␈↓β...;␈αat␈αstart␈αof␈αthe␈αfile␈α--␈αA␈αmacro␈αwith␈αarguments␈αis␈αset␈αup,␈αwith␈αthe␈αname␈α"DEFCONT",␈αand␈αthe
␈↓ ∞␈↓α 20␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 21␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ↓H␈β↓H␈↓βbody␈α<BRICK>␈α"!EVAL(("␈α<BRICK>␈α"∞CX"␈α<ARG␈α
1>␈α
{)"␈α
<BRICK>␈α
"←#"␈α
<BRICK>␈α
"¬=10;"␈α
<BRICK>␈α
"?SPACEXY;"
␈↓ ↓H␈β↓e␈↓β<BRICK>␈α"D#(}));"␈αwhere␈α<BRICK>␈αdenotes␈αthe␈↓␈α1␈↓β␈αtoken␈α(stored␈αinternally␈αas␈α177,175),␈α<ARG␈α1>␈αdenotes
␈↓ ↓H␈βα¬␈↓βthe␈αargument-number-1␈αtoken␈α
(stored␈α
internally␈α
as␈α
177,001),␈α
and␈α
other␈α
parts␈α
are␈α
between␈α
quote␈α
marks
␈↓ ↓H␈βα#␈↓βhere␈αto␈αavoid␈α
ambiguity␈α
as␈α
you␈α
try␈α
to␈α
read␈α
this.␈α∀(This␈α
assumes␈α
you␈α
have␈α
VERESC␈α
turned␈α
on.␈α∀Otherwise
␈↓ ↓H␈βα@␈↓βyou␈α∞just␈α∞get␈α∞the␈α∞dollar-sign␈α∞character␈α∞in␈α∞the␈α∞macro␈α∞body␈α∞instead␈α
of␈α
the␈↓␈α
1␈↓β␈α
token,␈α
and␈α
what␈α
happens
␈↓ ↓H␈βα`␈↓βlater␈α
in␈α
this␈α
example␈α
when␈α
"␈↓∂\␈↓β"␈α
is␈α
the␈α
brick␈α
character␈α
won't␈α
work.)
␈↓ α_␈βα}␈↓β\DEFCONT(A3);␈αat␈αthe␈αlocation␈αin␈αthe␈αfile␈αdesired␈α("␈↓∂\␈↓β"␈αhappens␈αto␈αbe␈αthe␈αbrick␈α
character␈α
here)␈α
--
␈↓ ↓H␈ββ≤␈↓βThe␈α
body␈α
of␈α
the␈αDEFCONT␈αmacro␈αis␈αpatched␈αinto␈αthe␈αinput␈αstream,␈αand␈αin␈αthe␈αprocess␈αof␈αreading␈αit␈αin
␈↓ ↓H␈ββ9␈↓βthe␈α
<BRICK>␈α
and␈α
<ARG␈α1>␈αare␈αreplaced␈αby␈α"␈↓1␈↓β"␈αand␈α"␈↓∂A3␈↓β"␈αrespectively,␈αresulting␈αin␈αthe␈αfollowing␈αstring
␈↓ ↓H␈ββY␈↓βbeing␈α
effectively␈α
in␈α
the␈α
input␈α
stream:␈α∀"␈↓∂\!EVAL((\∞CXA3{)\←#\¬=10;\?SPACEXY;\D#(}));␈↓β".
␈↓ α_␈ββw␈↓βThe␈α∞"EVAL"␈α∞macro␈α∞is␈α
then␈α
called,␈α
and␈α
in␈α
the␈α
process␈α
of␈α
binding␈α
its␈α
one␈α
argument␈α
the␈α
following
␈↓ ↓H␈β∧∃␈↓βhappens:␈α
(1)␈α
The␈α
string␈α
"␈↓∂\∞CXA3{␈↓β"␈α
is␈αpassed␈αas␈α(quoted)␈αtext;␈α(2)␈αRegister␈↓∂␈α#␈↓β␈αis␈αfetched␈αand␈αtested␈αto
␈↓ ↓H␈β∧3␈↓βsee␈α_if␈α_it␈α_is␈α↔less␈α↔than␈α↔ten,␈α↔if␈α↔so␈α↔the␈α↔SPACEXY␈α↔macro␈α↔generates␈α↔a␈α↔space␈α↔character␈α↔(in␈α↔the
␈↓ ↓H␈β∧Q␈↓βargument-to-EVAL␈α∞being␈α∞constructed);␈α∞(3)␈α
Register␈↓∂␈α
#␈↓β␈α
is␈α
fetched␈α
again␈α
,␈α
converted␈α
into␈α
decimal␈α
string,
␈↓ ↓H␈β∧o␈↓βand␈αappended␈αto␈αthe␈αargument;␈α(4)␈αThe␈αstring␈α"␈↓∂}␈↓β"␈α(one␈αcharacter)␈α
is␈α
passed␈α
(quoted);␈α
(5)␈α
The␈α
input␈α
text
␈↓ ↓H␈β¬
␈↓β"␈↓∂);␈↓β"␈α
terminates␈α
the␈αbinding␈αof␈αthe␈αfirst␈αargument,␈αand␈αterminates␈αall␈αbinding␈αfor␈αthe␈αcall␈αof␈αEVAL,␈αand
␈↓ ↓H␈β¬+␈↓βthe␈α
body␈α
of␈α
EVAL,␈α
which␈α
consists␈α
solely␈α
of␈α
the␈α
<ARG␈α
1>␈α
token,␈α
is␈α
patched␈α
into␈α
the␈α
input␈α
stream.
␈↓ α_␈β¬I␈↓βThus␈αif␈αthis␈αis␈αdone␈αon␈αpage␈α5,␈αthe␈αstring␈α"␈↓∂\∞CXA3{␈α5}␈↓β"␈α(the␈αargument)␈αis␈αnow␈αeffectively␈αin␈αthe
␈↓ ↓H␈β¬g␈↓βinput␈α
stream.␈α∀Upon␈α
reading␈α
all␈α
that␈α
(generated)␈α
input,␈α
the␈α
macro␈α
"CXA3"␈α
is␈α
defined,␈α
with␈α
body␈α
"␈↓∂␈α
5␈↓β".
␈↓ α_␈βε∧␈↓βLater,␈αfor␈αexample␈αin␈α
the␈α
table␈α
of␈α
contents␈α
page,␈α
the␈α
string␈↓␈α
1␈↓∂!CXA3;␈↓β␈α
--␈α
will␈α
generate␈α
the␈α
correct
␈↓ ↓H␈βε$␈↓βpage␈α
reference␈α
for␈α
item␈α
A3␈α
in␈α
the␈α
document,␈α
namely␈α
the␈α
string␈α
"␈↓∂␈α
5␈↓β"␈α
in␈α
this␈α
case.
␈↓ α␈βε`␈↓βHere is the setup for the EVERYPAGE macro that was used in this writeup (\ is escape char.):
␈↓ ↓H␈βε⎇␈↓∂\!ACCTIM;\; load a register with system date-time by means of the ␈↓1␈↓∂u command
␈↓ ↓H␈βπ≥␈↓∂\!EVAL((\∞TODAY[)\!DATIME;(]));\;
␈↓ ↓H␈βπ;␈↓∂\; call DATIME (in DATIME.POX[1,REM]) and hardwire the result into the TODAY macro
␈↓ ↓H␈βπY␈↓∂\∞IDENT[POX writeup -- compiled by POX on ]\;
␈↓ ↓H␈βπw␈↓∂\oEP1[2\!IDENT;\!TODAY; -- page ]\; hardwire all but the page number into an overlay
␈↓ βk␈βλ∃␈↓βand here is the actual macro definition ($ is escape char.):
␈↓ ↓H␈βλ3␈↓∂$8EVERYPAGE(dummyarg)[$←#$+=1;$→#$oEP2{2 $D#}$&EP←EP1&EP2;$N
␈↓ ↓H␈βλQ␈↓∂$QA$1EP;$→A$2EP;$¬A$/=2;$+=850;$→A$N
␈↓ ↓H␈βλo␈↓∂$WEP,A=150;$WEP,A=2100;$qA]$; generate page number, combine overlays, align
␈↓ α_␈β +␈↓βNote␈αthat␈αsome␈αtricky␈αthings␈αwere␈αdone␈α
in␈α
creating␈α
the␈α
everypage␈α
macro␈α
so␈α
that␈α
the␈α
time-of-day
␈↓ ↓H␈β I␈↓βwouldn't␈αbe␈αrecompiled␈αon␈αeverypage␈α(otherwise␈αif␈αthe␈αsystem␈αwere␈αvery␈αbusy,␈αeach␈αpage␈αmight␈αhave
␈↓ ↓H␈β g␈↓βa␈α⊃different␈α⊃time-of-compilation.␈α"In␈α⊃general,␈α⊃in␈α⊃POX␈α⊃the␈α⊃order␈α⊃of␈α⊃evaluation␈α⊃of␈α⊂arguments␈α⊂may␈α⊂be
␈↓ ↓H␈β
¬␈↓βcontrolled␈α∩by␈α∩means␈α∩of␈α∩calls␈α∩to␈α∩EVAL␈α∩(to␈α∩cause␈α∩an␈α∩extra␈α∩evaluation␈α⊃to␈α⊃occur)␈α⊃and␈α⊃using␈α⊃nesting
␈↓ ↓H␈β
#␈↓βcharacters␈α∂to␈α∂quote␈α∂portions␈α∂of␈α∂arguments␈α∂(to␈α∂suppress␈α∂or␈α∂postpone␈α∂an␈α∂evaluation).␈α≡The␈α∞following
␈↓ ↓H␈β
A␈↓βexample␈α
should␈α
show␈α
you␈α
some␈α
of␈α
the␈α
options␈α
you␈α
can␈α
create␈α
by␈α
use␈α
of␈α
this␈α
technique.
␈↓ α_␈β
←␈↓βSuppose␈αthat␈αMONTHNUMBER␈αis␈αa␈αmacro␈αthat␈αasks␈αthe␈αsystem␈α
for␈α
the␈α
date␈α
and␈α
time,␈α
and␈α
decodes
␈↓ ↓H␈β
⎇␈↓βthe␈αnumber␈αof␈αmonth␈α(0␈αto␈α11␈αdecimal)␈αleaving␈αit␈αin␈αregister␈αM.␈α⊗Suppose␈αthat␈αMONTH1␈αis␈αa␈αmacro␈αthat
␈↓ ↓H␈β≠␈↓βis␈α∩the␈α∩ASCII␈α∩name␈α∩of␈α∩the␈α∩first␈α∩month␈α⊃(January)␈α⊃etc.␈α⊃up␈α⊃to␈α⊃MONTH12␈α⊃=␈α⊃December.␈α"Suppose␈α⊃that
␈↓ ↓H␈β9␈↓βMONTHN(n)␈α∞is␈α∞a␈α∞macro␈α∞with␈α∞one␈α∞argument␈α∞that␈α∞concatenates␈α∞the␈α∞string␈α∞"␈↓∂$!MONTH␈↓β"␈α∞with␈α∞its␈α
argument
␈↓ ↓H␈βW␈↓β(assumed␈αto␈αbe␈αa␈α
decimal␈α
number␈α
string)␈α
and␈α
with␈α
a␈α
semicolon,␈α
so␈α
that␈α
for␈α
example␈α
"␈↓∂$!MONTHN(3)␈↓β;"␈α
will
␈↓ ↓H␈βu␈↓βpatch␈α
"␈↓∂$!MONTH3;␈↓β"␈α
into␈α
the␈α
input␈αstream␈αwhich␈αwill␈αthen␈αgenerate␈α"␈↓∂March␈↓β".␈α_The␈αfollowing␈αcommands
␈↓ ↓H␈β∪␈↓βwill␈α
then␈α
generate␈α
the␈α
correct␈α
result,␈α
assuming␈α
this␈α
month␈α
is␈α
neither␈α
January␈α
nor␈α
December:
␈↓ ↓H␈β1␈↓∂$!MONTHNUMBER;$;
␈↓ ↓H␈βO␈↓∂This month is $!MONTHN($DM); and next month is $!MONTHN($←M$+=1;$D∀);.
␈↓ ↓H␈βm␈↓∂Last month was $!MONTHN($←M$-=1;$D∀);.
␈↓ α_␈β
␈↓βNote␈α∞that␈α
if␈α
the␈α
contents␈α
of␈α
register␈α
M␈α
are␈α
changed,␈α
the␈α
result␈α
of␈α
calling␈α
MONTH($DM)␈α
changes
␈↓ ↓H␈β
)␈↓βaccordingly,␈α
and␈α
if␈α
any␈α
of␈α
the␈α
MONTH1␈α
MONTH2␈α
...␈αMONTH12␈αmacros␈αare␈αchanged␈α(such␈αas␈αto␈αa␈αset␈αof
␈↓ ↓H␈β
G␈↓βabbreviations␈αfor␈αthe␈αmonths)␈αthen␈αthe␈α
result␈α
of␈α
calling␈α
MONTHN␈α
will␈α
change␈α
in␈α
the␈α
particular␈α
cases␈α
that
␈↓ ↓H␈β
e␈↓βwere␈α⊃changed.␈α"That␈α⊃is␈α⊃because␈α⊃register␈α⊃M␈α⊃is␈α⊃referenced␈α⊃and␈α⊃macros␈α⊂MONTHN($DM)␈α⊂and␈α⊂MONTH6
␈↓ ↓H␈β∞β␈↓β(assuming␈αthis␈αis␈αstill␈αJune)␈αare␈αcalled␈αevery␈αtime␈↓∂␈α
$!MONTH($DM);␈↓β␈α
appears␈α
in␈α
the␈α
input␈α
stream.␈α∀Thus␈α
if
␈↓ ↓H␈β∞!␈↓βTHISMONTH␈α⊂is␈α⊂defined␈α⊂as␈α⊂the␈α⊂successive␈α∂calling␈α∂of␈α∂MONTHNUMBER␈α∂and␈α∂MONTH($DM)␈α∂then␈α∂everytime
␈↓ ↓H␈β∞?␈↓βTHISMONTH␈α∞is␈α∞called␈α∞register␈α∞M␈α∞will␈α∞be␈α
clobbered␈α
and␈α
MONTHN($DM)␈α
and␈α
MONTH6␈α
will␈α
be␈α
called.␈α~By
␈↓ ↓H␈β∞]␈↓βappropriate␈α∂control␈α∂of␈α∂evaluation,␈α∂it␈α∂is␈α∂possible␈α∂to␈α∂call␈α∂some␈α∂of␈α∂those␈α∂things␈α∂once␈α∂at␈α∂the␈α∂beginning
␈↓ ↓H␈β∞{␈↓β(when␈α
THISMONTH␈α
is␈α
defined)␈α
and␈α
hardwire␈α
their␈α
results␈α
into␈α
the␈α
definition␈α
of␈α
THISMONTH:
␈↓ ↓H␈β∂→␈↓∂$!EVAL(($∞THISMONTH[)$!MONTHNUMBER;$!MONTHN($DM);(]))$;
␈↓ ↓H␈β∂7␈↓∂$; "$∞THISMONTH[" is quoted, "$!MONTHNUMBER;" and "$!MONTH;" are called
␈↓ ∞␈↓α 21␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 22␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ↓H␈β↓H␈↓∂$; resulting in the string "June" if it is still June, "]" is quoted, and
␈↓ ↓H␈β↓f␈↓∂$; all these parts are concatenated into one string which is passed to
␈↓ ↓H␈βα∧␈↓∂$; EVAL as its argument "$∞THISMONTH[June]" which is then patched into
␈↓ ↓H␈βα"␈↓∂$; the input stream, causing THISMONTH to be permanently defined as "June".
␈↓ ↓H␈βα↑␈↓∂$!EVAL(($∞THISMONTH[)$!MONTHNUMBER;($!MONTHN{)$DM(};]))$;
␈↓ ↓H␈βα|␈↓∂$; "$∞THISMONTH[" is quoted, "$!MONTHNUMBER;" is called resulting in register
␈↓ ↓H␈ββ~␈↓∂$; M getting defined now, "$!MONTHN{" is quoted, the decimal conversion of
␈↓ ↓H␈ββ8␈↓∂$; the contents of M we have just computed earlier come next, then "};]"
␈↓ ↓H␈ββV␈↓∂$; is quoted, and all the above is concatenated into
␈↓ ↓H␈ββt␈↓∂$; "$∞THISMONTH[$!MONTHN{6};]" which causes THISMONTH to be defined so as
␈↓ ↓H␈β∧∩␈↓∂$; to call MONTHN(6) every time. Thus register M is freed for other use
␈↓ ↓H␈β∧0␈↓∂$; without affecting THISMONTH but redefinition of MONTH6 will cause
␈↓ ↓H␈β∧N␈↓∂$; THISMONTH to change accordingly.
␈↓ ¬∀␈β¬λ␈↓ALTERNATE OUTPUT FILES
␈↓ α_␈β¬+␈↓βWhereas␈α
the␈↓␈α
1␈↓∂@␈↓β...␈α
command␈α
reads␈α
in␈αa␈αfile␈αand␈αprocesses␈αit␈αas␈αif␈αthe␈αtext␈αin␈αit␈αhad␈αbeen␈αedited
␈↓ ↓H␈β¬K␈↓βinto␈αthe␈αmain␈αinput␈αfile,␈αthe␈αcommands␈αin␈αthis␈αsection␈αare␈αused␈αto␈αwrite␈α
text␈α
into␈α
a␈α
file␈α
(overwriting␈α
any
␈↓ ↓H␈β¬i␈↓βexisting␈α
file␈α
by␈α
the␈α
same␈α
name),␈α
usually␈α
for␈α
the␈α
purpose␈α
of␈α
reading␈α
it␈α
back␈αin␈αlater␈αand␈αprocessing␈αit
␈↓ ↓H␈βεπ␈↓βfurther␈α∂at␈α∂that␈α∂time.␈α≡Thus␈α∂a␈α∂table␈α∂of␈α∂contents␈α∂or␈α∞a␈α∞batch␈α∞of␈α∞footnotes␈α∞can␈α∞be␈α∞generated␈α∞over␈α∞the
␈↓ ↓H␈βε%␈↓βcourse␈αof␈αa␈αcomplete␈αdocument␈αor␈αa␈αchapter,␈αthen␈αread␈αback␈αin␈αat␈αthe␈αend␈αand␈αemitted␈αfully␈αprocessed
␈↓ ↓H␈βεC␈↓βinto␈αthe␈αmain␈α(.XGP)␈αoutput␈αfile.␈α⊗A␈α
table␈α
of␈α
contents␈α
emitted␈α
at␈α
the␈α
end␈α
of␈α
a␈α
document␈α
can␈α
of␈α
course␈α
be
␈↓ ↓H␈βεa␈↓βmoved␈α
up␈α
to␈α
the␈α
front␈α
of␈α
the␈α
document␈α
before␈α
binding.
␈↓ ↓H␈βε}␈↓1␈↓∂<␈↓εq␈↓¬<FILNAM>␈↓β␈↓ β⊂(U␈αJ␈αCR␈αo)␈α--␈αOpen␈αthe␈αfile␈↓¬␈α<FILNAM>␈↓β␈αon␈αlogical␈αi/o␈αchannel␈↓ε␈αq␈↓β.␈α⊗Available
␈↓ β⊂␈βπ&␈↓βlogical␈αchannels␈αare␈α
numbered␈α
from␈α
1␈α
to␈α
approximately␈α
10␈α
(decimal)␈α
so␈α
I
␈↓ β⊂␈βπD␈↓βdon't␈α∞except␈α∞any␈α∞normal␈α∞users␈α∞to␈α∞run␈α∞out␈α∞of␈α∞channels.␈α≠The␈α
following
␈↓ β⊂␈βπb␈↓βcommand,␈α∂for␈α∂example,␈α∂will␈α∂create␈α∂the␈α∂file␈↓∂␈α∞CONT.TMP␈↓β␈α∞on␈α∞your␈α∞default
␈↓ β⊂␈βπ␈␈↓β(DSKPPN)␈α
disk␈α
area:␈↓␈α∀1␈↓∂<=1;CONT.TMP;
␈↓ ↓H␈βλ≡␈↓1␈↓∂=␈↓εq␈↓¬<OPEN><TEXT><CLOSE>
␈↓ β⊂␈βλA␈↓β(U␈α
J␈α
CR␈α
o␈α
A)␈α--␈αSelect␈αlogical␈αi/o␈αchannel␈↓ε␈αq␈↓β␈αfor␈αoutput,␈αparse␈αthe␈αtext
␈↓ β⊂␈βλi␈↓βbetween␈α⊃matching␈↓¬␈α⊃<OPEN>␈↓β␈α⊃and␈↓¬␈α⊂<CLOSE>␈↓β␈α⊂exactly␈α⊂the␈α⊂same␈α⊂way␈α⊂as␈α⊂if␈α⊂it
␈↓ β⊂␈β π␈↓βwere␈α
an␈α
argument␈α
to␈αa␈αmacro␈α(except␈αthat␈αcomma␈αdoesn't␈αcause␈αbreak
␈↓ β⊂␈β %␈↓βin␈αparsing␈αbecause␈αonly␈αone␈α"argument"␈αis␈αever␈αparsed).␈α⊗The␈αresult␈αof
␈↓ β⊂␈β C␈↓βparsing␈α∂the␈α∂text␈α∂is␈α∂written␈α∂into␈α∂the␈α∞file␈α∞open␈α∞on␈α∞that␈α∞channel.␈α≤After
␈↓ β⊂␈β a␈↓βreaching␈↓¬␈α⊗<CLOSE>␈↓β␈α⊗the␈α⊗output␈α⊗is␈α⊗switched␈α⊗back␈α⊗to␈α⊗normal␈α⊗but␈α∃the
␈↓ β⊂␈β }␈↓βalternate␈αoutput␈αfile␈αis␈αleft␈αopen␈αin␈αcase␈αadditional␈↓␈α1␈↓∂=␈↓β...␈α⊗commands␈αare
␈↓ β⊂␈β
≡␈↓βissued.␈α5Of␈α~course␈α~if␈α~several␈α~alternate␈α~output␈α~files␈α~are␈α~open
␈↓ β⊂␈β
<␈↓βsimultaneously,␈α∞chunks␈α∞of␈α∞text␈α
may␈α
be␈α
emitted␈α
into␈α
them␈α
in␈α
whichever
␈↓ β⊂␈β
Y␈↓βsequence␈αthe␈αuser␈αdesires␈αby␈αusing␈αone␈↓␈α
1␈↓∂=␈↓β...␈α
commands␈α
for␈α
each␈α
chunk.
␈↓ β⊂␈β
y␈↓β(Note,␈α∩just␈α∩like␈α∩arguments␈α∩to␈α∩macros,␈α∩only␈α∩pure␈α∩ASCII␈α∩text␈α∩may␈α⊃be
␈↓ β⊂␈β↔␈↓βgenerated,␈α∞not␈α∞XGP␈α∞escape␈α∞sequences␈α∞like␈α∞font␈α∞selects␈α∞etc.␈α~Typically
␈↓ β⊂␈β5␈↓βwhat␈α
is␈αemitted␈αare␈αsequences␈αthat␈αinclude␈αthe␈αbrick␈αcharacter,␈αquoted
␈↓ β⊂␈βS␈↓βso␈α⊂that␈α⊂the␈α∂brick␈α∂characters␈α∂are␈α∂actually␈α∂emitted␈α∂into␈α∂the␈α∂file␈α∂rather
␈↓ β⊂␈βq␈↓βthan␈α∪evaluated␈α∪now,␈α∪then␈α∪when␈α∪the␈α∪file␈α∩is␈α∩read␈α∩back␈α∩in␈α∩the␈α∩brick
␈↓ β⊂␈β∂␈↓βcommands␈α
will␈α
be␈α
evaluated␈α
(executed).)
␈↓ ↓H␈β,␈↓1␈↓∂>␈↓εq␈↓β␈↓ β⊂(U␈αJ␈αCR␈αo)␈α--␈αClose␈αthe␈αfile␈αon␈αlogical␈α
i/o␈α
channel␈↓ε␈α
q␈↓β.␈α∀This␈α
must␈α
be␈α
done
␈↓ β⊂␈βT␈↓βbefore␈α
the␈α
file␈α
can␈α
be␈α
read␈α
back␈α
in␈α
or␈α
accessed␈α
by␈α
another␈α
program.
␈↓ ↓H␈β
⊂␈↓βExample of generating footnotes for end of the chapter:
␈↓ ↓H␈β
8␈↓∂\<=2;FOOT.TMP;\N␈↓β␈↓ ε}At front of chapter, open the file
␈↓ ↓H␈β
`␈↓∂\==2;(\←#\+=1;\→#\N␈↓β␈↓ ¬)Each footnote: Increment footnote counter, then...
␈↓ ↓H␈β
}␈↓∂\D#\"\jMcCarthy, John, LISP 1.5 Programmer's Manual.\"\.
␈↓ ↓H␈β∞≤␈↓∂)\N␈↓β␈↓ β`Emit␈α⊂footnote␈α⊂number␈α⊂in␈α⊂decimal␈α⊂at␈α⊂left␈α⊂margin,␈α∂pass␈α∂a␈α∂quoted
␈↓ β⊂␈β∞:␈↓βbrick␈α∞j␈α∞command,␈α∞pass␈α∞the␈α∞text␈α∞of␈α∞the␈α∞footnote,␈α
pass␈α
a␈α
quoted␈α
brick␈α
.
␈↓ β⊂␈β∞X␈↓βcommand,␈α
de-select␈α
alternate␈α
output.␈α∀Normally␈α
all␈α
this␈α
would␈α
be␈α
defined
␈↓ β⊂␈β∞v␈↓βas␈α∩a␈α∩macro␈α∩that␈α∩took␈α∩the␈α∩text␈α∩between␈α∩the␈↓∂␈α∩\j␈↓β␈α∩and␈α∩the␈↓∂␈α∩\.␈↓β␈α∩as␈α∩an
␈↓ β⊂␈β∂∀␈↓βargument.
␈↓ ∞␈↓α 22␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 23␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ↓H␈β↓H␈↓∂\>=2;\N␈↓β␈↓ π
At end of chapter, close the file
␈↓ ↓H␈β↓f␈↓∂\@FOOT.TXT;\N␈↓β␈↓ ¬Pand read it back in (and parse it) in one chunk.
␈↓ ∧|␈βα!␈↓ENABLING SPECIAL FEATURES
␈↓ α_␈βαD␈↓βIn␈αthe␈αfollowing␈αthree␈αcommands,␈αthe␈αleft␈αhalf␈αof␈↓ε␈αq␈↓β,␈αspecifies␈αa␈αbatch␈αof␈αfeatures,␈αand␈αthe␈αbits␈αin
␈↓ ↓H␈βαl␈↓βthe␈α
right␈α
half␈α
specify␈α
which␈α
features␈α
in␈α
that␈α
batch␈α
are␈α
affected␈α
(or␈α
in␈α
the␈α
case␈αof␈αthe␈αfirst␈αcommand,
␈↓ ↓H␈ββ
␈↓βwhich␈α
are␈α
on,␈α
since␈α
all␈α
are␈α
affected␈α
one␈α
way␈α
or␈α
the␈α
other␈α
in␈α
this␈α
obsolete␈α
command).␈α_Thus␈αyou␈αmay
␈↓ ↓H␈ββ(␈↓βchange␈αas␈αmany␈αfeatures␈αin␈αone␈αbatch␈αat␈αa␈αtime,␈αbut␈αmust␈αuse␈αseparate␈αcommands␈αfor␈αeach␈α
batch.␈α∀The
␈↓ ↓H␈ββF␈↓βcommands␈αare␈αgiven␈αfirst,␈αthen␈αthe␈α
descriptions␈α
of␈α
each␈α
feature,␈α
with␈α
the␈α
batch␈α
number␈α
and␈α
bit␈α
position
␈↓ ↓H␈ββd␈↓β(mask)␈α
that␈α
correspond␈α
to␈α
it.␈α~All␈α
bits␈αare␈αinitially␈αzero,␈αand␈αbits␈αnot␈αmentionned␈αbelow␈αshould␈αbe␈αleft
␈↓ ↓H␈β∧α␈↓βthat␈α
way␈α
to␈α
allow␈α
for␈α
new␈α
bits␈α
that␈α
will␈α
be␈α
defined␈α
later.
␈↓ ↓H␈β∧∨␈↓1␈↓∂`␈↓εq␈↓β␈↓ ββ(U)␈α--␈αSet␈αspecial␈αfeatures␈αhalfword␈αfrom␈αright␈αhalf␈αof␈↓ε␈α
q␈↓β␈α
--␈α
This␈α
command
␈↓ ββ␈β∧G␈↓βis␈α∞not␈α∞reccommended␈α∞because␈α∞it␈α
clobbers␈α
bits␈α
you␈α
may␈α
have␈α
set␈α
earlier
␈↓ ββ␈β∧e␈↓βand␈α
forgotten.
␈↓ ↓H␈β¬α␈↓1␈↓∂⊂␈↓εq␈↓β␈↓ ββ(U)␈α--␈αUse␈αright␈αhalf␈αof␈↓ε␈αq␈↓β.␈αas␈αa␈αmask␈αfor␈αturning␈αon␈αbits,␈αleaving␈αthe␈αrest
␈↓ ββ␈β¬*␈↓βunaffected.
␈↓ ↓H␈β¬G␈↓1␈↓∂⊃␈↓εq␈↓β␈↓ ββ(U)␈α
--␈α
Use␈α
right␈α
half␈α
of␈↓ε␈α
q␈↓β.␈α
as␈α
a␈α
mask␈α
for␈α
turning␈α
off␈α
bits␈α
(a␈α
"1"␈α
in␈α
the␈α
mask
␈↓ ββ␈β¬o␈↓βturns␈α∂the␈α∂bit␈α∂off,␈α∂the␈α∂same␈α∞as␈α∞the␈α∞ANDCM␈α∞instruction),␈α∞leaving␈α∞the␈α∞rest
␈↓ ββ␈βε
␈↓βunaffected.
␈↓ ↓H␈βε+␈↓βBefore␈α⊃you␈α⊃use␈α⊃any␈α⊃of␈α⊃the␈α⊃above␈α⊃commands␈α⊃to␈α⊃change␈α⊃these␈α⊃flags,␈α⊃all␈α⊃the␈α⊃bits␈α⊂listed␈α⊂below␈α⊂are
␈↓ ↓H␈βεI␈↓βnot-enabled␈α(zero␈αbit).␈α⊗Generally␈αit␈αis␈αadvisable␈αto␈αturn␈αthese␈αbits␈αon␈αat␈αthe␈αbeginning␈αand␈αleave␈αthem
␈↓ ↓H␈βεg␈↓βon,␈αhowever␈αit␈αis␈αfrequently␈α
useful␈α
to␈α
toggle␈α
them␈α
on␈α
and␈α
off.␈α∀If␈α
funny␈α
things␈α
can␈α
happen␈α
with␈α
toggling,
␈↓ ↓H␈βπ¬␈↓βI␈α
will␈α
try␈α
to␈α
warn␈α
you␈α
in␈α
the␈α
description␈α
below␈α
--␈α
please␈α
excuse␈αthe␈αsloppy␈α(unjustified)␈αappearance,
␈↓ ↓H␈βπ#␈↓βthe␈α
text␈αwas␈αcopied␈αfrom␈αthe␈αsource␈αprogram␈αfor␈αPOX␈αwith␈αvery␈αlittle␈αediting.␈α_also,␈αthe␈α"$"␈αcharacter
␈↓ ↓H␈βπ@␈↓βrather␈α
than␈α
"␈↓1␈↓β"␈α
represents␈α
the␈α
brick␈α
character␈α
below.
␈↓ α_␈βπ`␈↓βI␈α∞reccommend␈α∞that␈α∞all␈α∞newly-created␈α∞POX␈α∞files␈α∞turn␈α∞on␈α∞VERSMT,␈α
VERXX1␈α
and␈α
VE1QES␈α
near␈α
the
␈↓ ↓H␈βπ}␈↓βstart␈α
of␈α
the␈α
file.␈α~Also␈αdesirable␈αmost␈αof␈αthe␈αtime␈αare␈αVERSIM,␈αVERSGK,␈αVERREM,␈αVERRHT,␈αVERESC␈αand
␈↓ ↓H␈βλ≠␈↓βVE1OPN.␈α≡All␈α∂of␈α∂these␈α∂can␈α∂be␈α∞turned␈α∞on␈α∞by:␈↓␈α≤1␈↓∂⊂'0302454;␈↓1␈↓∂⊂'1000003;␈↓β␈α∞at␈α∞the␈α∞very␈α∞beginning␈α∞of
␈↓ ↓H␈βλ;␈↓βyour␈α
source␈α
file.␈α∀I␈α
reccommend␈α
against␈α
using␈α
VER56P,␈α
VERREG␈α
and␈α
VERIDC.
␈↓ ↓H␈βλY␈↓∂; THESE BITS ARE IMPLEMENTED CURRENTLY:
␈↓ α(␈β ∪␈↓Batch (left half of ␈↓εq␈↓) = 0
␈↓ ↓H␈β ;␈↓∂VERHHR←←000001␈↓ βH;ENABLE H AND h HEIGHT OF FONT PSEUDO-REGISTER -- Has its effect at
␈↓ ↓H␈β Y␈↓∂ the moment you attempt using any command that takes a register as an argument,
␈↓ ↓H␈β w␈↓∂ and you specify register "H" or "h".
␈↓ ↓H␈β
∃␈↓∂VERTRC←←000002␈↓ βH;TRACE AND OTHER TTY OUTPUT
␈↓ ↓H␈β
3␈↓∂VERSIM←←000004␈↓ βH;ENABLE <LF> SIMULATOR, ENABLE SIDE EFFECT OF REGISTER ";"
␈↓ ↓H␈β
Q␈↓∂ ;This simulates XGPSER enough to know at all times where it is on the page
␈↓ ↓H␈β
o␈↓∂ ;It allows sorting each output thing according to Y0 so that XGPSER doesn't complain
␈↓ α_␈β
␈↓βWARNING␈α∞--␈α∞This␈α∞bit␈α∞can␈α∞not␈α∞be␈α∞turned␈α∞off␈α∞at␈α∞all␈α∞(I␈α∞haven't␈α∞implemented␈α∞it␈α∞because␈α∞it␈α
doesn't
␈↓ ↓H␈β+␈↓βseem␈α
like␈α
a␈α
good␈α
idea␈α
for␈α
several␈α
reasons)␈α
--␈α
Regarding␈α
turning␈α
it␈α
on,␈α
if␈α
you␈α
turn␈α
it␈α
on␈α
after␈αone␈αor
␈↓ ↓H␈βI␈↓βmore␈αpages␈αof␈αtext␈αhave␈αbeen␈αoutput,␈αthe␈αbottom␈αmargin␈α
will␈α
probably␈α
get␈α
screwed␈α
up␈α
--␈α
If␈α
you␈α
turn␈α
it
␈↓ ↓H␈βg␈↓βon␈α
after␈α
text␈α
has␈α
been␈αoutput␈αon␈αthe␈αcurrent␈αpage,␈αthe␈αxspooler␈αwill␈αprobably␈αabort␈αdue␈αto␈αincorrect
␈↓ ↓H␈β¬␈↓βY0␈αsequence␈α--␈αIn␈αconclusion,␈αyou␈αshould␈αturn␈αon␈αthe␈αsimulator␈αbefore␈αany␈αtext␈αis␈αoutput␈αat␈αall,␈αor␈αnot
␈↓ ↓H␈β#␈↓βat␈α
all.
␈↓ α_␈β@␈↓βWARNING␈α--␈αYou␈αmust␈αdo␈αat␈αleast␈αone␈↓␈α1␈↓∂F␈↓β...␈αafter␈αturning␈αon␈αthe␈αsimulator␈αbefore␈αoutputting␈αany
␈↓ ↓H␈β`␈↓βtext,␈α
or␈α
you␈α
will␈α
get␈α
screwed.
␈↓ ↓H␈β}␈↓∂VERSGK←←000010␈↓ βH;Double-gap after . : etc. if double-space input
␈↓ ↓H␈β
≤␈↓∂VER56P←←000020␈↓ βH;ENABLE $5 AND $6 INITIALIZATION WITH TLIM1 AND BLIM1 DATA --
␈↓ ↓H␈β
:␈↓∂ See BUG#2 -- Takes effect when a $M command is executed on a font not previously
␈↓ ↓H␈β
X␈↓∂ loaded.
␈↓ ↓H␈β
v␈↓∂VERREM←←000040␈↓ βH;ENABLE REM'S SYNTAX FOR MACROS WITH ARGS DEFINITIONS -- Takes
␈↓ ↓H␈β∞∀␈↓∂ effect when the macro is being defined.
␈↓ ↓H␈β∞2␈↓∂VEREVE←←000100␈↓ βH;ENABLE EVERYPAGE MACRO
␈↓ ↓H␈β∞N␈↓∂ ;If on, once on every new page of output it simulates ␈↓1␈↓∂!EVERYPAGE; occurring in
␈↓ ↓H␈β∞m␈↓∂ your input file (at the first occurrance of <CR><LF> or ␈↓1␈↓∂;...<CR><LF> while at
␈↓ ↓H␈β∂
␈↓∂ pass-as-is mode, or a few other places -- If you want this to happen on the page
␈↓ ↓H␈β∂)␈↓∂ where you turn on the feature, you will have to do ␈↓1␈↓∂!EVERYPAGE; yourself once there.
␈↓ ∞␈↓α 23␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 24␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ↓H␈β↓H␈↓∂ WARNING!! -- Because of the fact that this macro is called at an almost-random
␈↓ ↓H␈β↓f␈↓∂ location with respect to your input file, it must be constructed so as to
␈↓ ↓H␈βα∧␈↓∂ avoid clobbering anything (registers or input syntax, usually) that might
␈↓ ↓H␈βα"␈↓∂ confuse the main processing of the file. Any registers used should be saved
␈↓ ↓H␈βα@␈↓∂ and restored using push/pop commands. Watch out for $ $N $; $, etc. which
␈↓ ↓H␈βα↑␈↓∂ will cause strange and confusing destruction of your world if the terminating
␈↓ ↓H␈βα|␈↓∂ <crlf> <ff> etc. is missing from your everypage macro.
␈↓ ↓H␈ββ~␈↓∂;000000 000200␈↓ βH;(RESERVED FOR FUTURE COLIST-KLUDGE)
␈↓ ↓H␈ββ8␈↓∂VERRHT←←000400␈↓ βH;ENABLE MODIFIED WAY TO PARSE ARGS THAT HAVE NESTING CHARS IN THEM
␈↓ ↓H␈ββV␈↓∂ (i.e. anything inside nesting inside nesting is quoted, etc., see
␈↓ ↓H␈ββt␈↓∂ the earlier section "Detailed examples of argument evaluation")
␈↓ ↓H␈β∧∩␈↓∂ Takes effect when a parameter is being parsed prior to being bound to dummy arg.
␈↓ ↓H␈β∧0␈↓∂VERREG←←001000␈↓ βH;$'<OCTAL>; OLD WAY -- 177 ALWAYS EVEN IF IT DEFEATS POX QUIETLY
␈↓ ↓H␈β∧N␈↓∂VERSMT←←002000␈↓ βH;$'<OCTAL>; NEW WAY -- 177 ONLY IF NEEDED
␈↓ ↓H␈β∧l␈↓∂VERIDC←←004000␈↓ βH;SPECIAL REQUEST BY RHT, NO ERROR IF ; OMITTED AFTER MACRO CALL
␈↓ ↓H␈β¬
␈↓∂VERPAG←←010000␈↓ βH;AUTOMATIC PAGE CHANGE W/OUT FIRST WARNING, TEXT AND $O OUTPUT OVL
␈↓ ↓H␈β¬(␈↓∂VERBG1←←020000␈↓ βH;ENABLES BUG#1 WARNING MESSAGE (TEMPORARY)
␈↓ ↓H␈β¬F␈↓∂VERLCS←←040000␈↓ βH;CHANGE WAY TABS IN PASSIS ARE DONE TO 1/10 OF RMAR-LMAR * INPUT COL
␈↓ ↓H␈β¬d␈↓∂ WARNING -- Only tabs in input file do the right thing. A counter
␈↓ ↓H␈βεα␈↓∂ keeps track of what column in the input file we are at, and
␈↓ ↓H␈βε ␈↓∂ rounds up to multiple of 8 when a tab occurs in the input FILE
␈↓ ↓H␈βε>␈↓∂ (not in a macro expansion patch). Thus any text just after a tab
␈↓ ↓H␈βε\␈↓∂ in the input file will appear on the output page in approximately
␈↓ ↓H␈βεz␈↓∂ the same column on the XGP. Note that a tab in a macro will
␈↓ ↓H␈βπ_␈↓∂ activate this mechanism, but it will go to a position corresponding
␈↓ ↓H␈βπ6␈↓∂ to the input FILE rather than what that file would have been with
␈↓ ↓H␈βπT␈↓∂ the macros inserted in it. Note that the three low order bits
␈↓ ↓H␈βπr␈↓∂ of the column counter are ignored also. A warning message
␈↓ ↓H␈βλ⊂␈↓∂ will be generated if a tab is encountered in a macro while not at
␈↓ ↓H␈βλ.␈↓∂ a multiple of 8 columns, until such time as
␈↓ ↓H␈βλL␈↓∂ an implemtation is found that satisfies everyone.
␈↓ ↓H␈βλj␈↓∂VERESC←←100000␈↓ βH;CAUSES BRICK CHAR IN MACRO BODY TO BE SAME AS ⊗$⊗ FEATURE, i.e.
␈↓ ↓H␈β λ␈↓∂ the <BRICK> token rather than the character itself -- This bit is tested at the
␈↓ ↓H␈β &␈↓∂ time the macro body is being parsed and associated with the macro name
␈↓ ↓H␈β B␈↓∂(at define-time during execution of the ␈↓1␈↓∂8 or ␈↓1␈↓∂∞ command).
␈↓ ↓H␈β b␈↓βWARNING!!␈α(75␈αAUG␈α03)␈α--␈αThe␈αtoken␈αin␈αthe␈αmacro␈αbody␈αis␈αreplaced␈αby␈αthe␈αcurrent␈αbrick␈αcharacter␈αat
␈↓ ↓H␈β
␈↓βthe␈α
time␈α
the␈α
token␈α
is␈α
rescanned␈α
as␈α
input,␈α
not␈α
earlier␈α
when␈α
the␈α
macro␈α
body␈α
is␈α
patched␈α
into␈α
the␈α
input
␈↓ ↓H␈β
≡␈↓βstream,␈α
so␈α
if␈α
your␈α
brick␈α
character␈α
at␈α
macro-define␈α
time␈α
was␈α
\␈α
and␈αthe␈αmacro␈αbody␈αincludes␈α\|$...$|\␈αit
␈↓ ↓H␈β
<␈↓βwill␈α
be␈α
compiled␈α
as␈α
<brick>|$...$|<brick>␈α
then␈α
if␈α
when␈α
you␈α
call␈αit␈α\␈αis␈αthe␈αbrick␈αcharacter,␈αthe␈α<brick>|$
␈↓ ↓H␈β
Z␈↓βwill␈αbe␈αconverted␈αto␈α\|$␈αand␈α$␈αwill␈αbe␈αyou␈αbrick␈αcharacter␈αfor␈α...,␈αthen␈α$|<brick>␈αwill␈α
be␈α
converted␈α
to␈α
$|$
␈↓ ↓H␈β
x␈↓βinstead␈αof␈αthe␈α$|\␈αyou␈αprobably␈αintended,␈αand␈αyou␈αwill␈αtotally␈αlose␈α
just␈α
like␈α
this␈α
POX␈α
writeup␈α
did␈α
before
␈↓ ↓H␈β⊗␈↓βI␈α
located␈α
this␈α
subtle␈α
bug␈α
(in␈α
this␈α
writeup)␈α
and␈α
fixed␈α
it.␈α~If␈α
you␈α
want␈α
the␈α
effect␈α
desired␈α
(whatever␈αthe
␈↓ ↓H␈β4␈↓βbrick␈αchar␈αis,␈αchange␈αit␈αto␈α$,␈α
then␈α
back␈α
again)␈α
you␈α
can␈α
probably␈α
make␈α
it␈α
work␈α
by␈α
having␈α
your␈α
macro␈α
call
␈↓ ↓H␈βR␈↓βEVAL␈α∞with␈α∞a␈α∞quoted␈α∞string␈α∞containing␈α
the␈α
brick␈α
character,␈α
thereby␈α
forcing␈α
both␈α
<brick>␈α
tokens␈α
to␈α
be
␈↓ ↓H␈βp␈↓βreplaced␈α∩by␈α∩the␈α∩same␈α∩brick␈α∩character␈α∩at␈α∩argument-binding␈α∩(arg␈α∩to␈α∩EVAL)␈α∩time␈α⊃and␈α⊃used␈α⊃in␈α⊃both
␈↓ ↓H␈β∞␈↓βinstances.␈α∀Note␈α
that␈α
this␈α
subtle␈α
problem␈α
happens␈α
the␈α
same␈α
with␈α
the␈α
old␈α
⊗$⊗␈α
syntax␈α
in␈α
macro␈α
bodies.
␈↓ ↓H␈β,␈↓∂VERXX1←←200000␈↓ βH;IMPLEMENTS CORRECT OUTPUT-OVERLAY AS OF 1975.JUL/AUG
␈↓ ↓H␈βJ␈↓∂VERVER←←400000␈↓ βH;ALLOWS TYPEOUT OF SPECIAL FEATURES ON/OFF
␈↓ α(␈β
∧␈↓Batch (left half of ␈↓εq␈↓) = 1
␈↓ ↓H␈β
,␈↓∂VE1QES←←000001␈↓ βH;SUPPRESSES CRUFTY OLD ␈↓11␈↓∂ "FEATURE"
␈↓ ↓H␈β
L␈↓∂VE1OPN←←000002␈↓ βH;OUTPUT PAGE NUMBERS TYPED
␈↓ ↓H␈β
j␈↓∂VE1RWG←←000004␈↓ βH;Output overlay on same line as text
␈↓ ↓H␈β∞λ␈↓∂VE1TSP←←000010␈↓ βH;Erroneous tab in middle of justified line treated as space
␈↓ ↓H␈β∞&␈↓∂VE1LES←←000020␈↓ βH;Suppress side-effect of comma delimiting macro arguments
␈↓ ↓H␈β∞D␈↓∂VE1FAI←←000040␈↓ βH;Fail error mode, don't stop on errors
␈↓ ∞␈↓α 24␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 25␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ββ␈β↓H␈↓βFor␈αexample,␈αthe␈αcommand␈↓␈α1␈↓∂⊂'446;␈↓β␈αwill␈αturn␈α
on␈α
the␈α
simulator␈α
and␈α
enable
␈↓ ββ␈β↓h␈↓βthe␈αfull␈α
REM␈α
macro-with-argument␈α
syntax␈α
with␈α
ability␈α
to␈α
quote␈α
portions␈α
of
␈↓ ββ␈βαε␈↓βarguments␈α⊂and␈α⊂cause␈α⊂trace␈α⊂output␈α⊂to␈α⊂appear␈α⊂on␈α∂your␈α∂terminal␈α∂as␈α∂POX
␈↓ ββ␈βα#␈↓βruns.␈α≤The␈α∞command␈↓␈α∞1␈↓∂⊂'1000001;␈↓β␈α∞will␈α
turn␈α
on␈α
the␈α
bit␈α
that␈α
deletes␈α
the
␈↓ ββ␈βαB␈↓11␈↓β␈α⊃command.␈α"At␈α⊃a␈α⊃later␈α⊃time␈↓␈α⊃1␈↓∂⊃'2;␈↓β␈α⊃will␈α⊂turn␈α⊂off␈α⊂the␈α⊂trace␈α⊂without
␈↓ ββ␈βαb␈↓βaffecting␈α!the␈α!simulator␈α or␈α macro-with-arguments␈α or␈α any␈α other
␈↓ ββ␈ββ␈↓βspecial-feature␈α
bits.
␈↓ ∧3␈ββ;␈↓REMARKS ON USING THE POX PROGRAM
␈↓ α_␈ββ↑␈↓βIf␈αyou␈αhave␈αthe␈αVERTRC␈αflag␈αenabled␈α(see␈αthe␈↓␈α1␈↓∂⊂␈↓β␈αcommand␈αet.al.)␈α⊗various␈α
random␈α
things␈α
will␈α
get
␈↓ ↓H␈ββ⎇␈↓βtyped␈αout␈αwhile␈αPOX␈αis␈αrunning,␈αincluding␈αtext␈αin␈αyour␈αinput␈αfile␈αappearing␈αafter␈↓␈α1␈↓∂;␈↓β␈αand␈↓␈α1␈↓∂,␈↓β␈αcommands.
␈↓ ↓H␈β∧≥␈↓βFor␈α⊂the␈α⊂most␈α⊂part␈α⊂you␈α⊂may␈α⊂ignore␈α⊂them.␈α If␈α⊂you␈α∂really␈α∂want␈α∂to␈α∂know␈α∂about␈α∂them,␈α∂ask␈α∂REM␈α∂about
␈↓ ↓H␈β∧;␈↓βparticular␈αones,␈αor␈αlook␈α
in␈α
the␈α
source␈α
program␈α
for␈α
POX.␈α∀These␈α
trace␈α
outputs␈α
are␈α
all␈α
subject␈α
to␈α
purge␈α
at
␈↓ ↓H␈β∧Y␈↓βany␈α
time␈α
as␈α
POX␈α
develops.
␈↓ α_␈β∧w␈↓βTo␈α∪enable␈α∪some␈α∪of␈α∪the␈α∩new␈α∩features␈α∩implemented␈α∩after␈α∩1974␈α∩Nov␈α∩which␈α∩conflict␈α∩with␈α∩old
␈↓ ↓H␈β¬∀␈↓βfeatures,␈α⊂special␈α⊂flags␈α⊂must␈α⊂be␈α⊂set␈α⊂earlier␈α⊂in␈α⊂your␈α⊂input␈α⊂file␈α⊂(see␈α⊂the␈↓␈α⊂1␈↓∂⊂␈↓β␈α⊂command␈α⊂et.al.)␈α∨--␈α∂The
␈↓ ↓H␈β¬4␈↓βdefinition␈α
of␈α
register␈↓∂␈α
∀␈↓β␈α
as␈α
the␈α
accumulator,␈α
and␈α
the␈α
newly-implemented␈α
side-effects␈α
of␈α
q-register␈α"␈↓∂,␈↓β"
␈↓ ↓H␈β¬R␈↓βare␈α∂automatically␈α∂in␈α∂effect␈α∂and␈α∂can␈α∂not␈α∞be␈α∞inhibited␈α∞except␈α∞by␈α∞using␈α∞an␈α∞old␈α∞version␈α∞of␈α∞POX␈α∞(before
␈↓ ↓H␈β¬p␈↓β74.DEC).
␈↓ ¬Q␈βε+␈↓Backtrace package
␈↓ α_␈βεN␈↓βThere␈αare␈α5␈αkinds␈αof␈αerrors␈αthat␈αcan␈αoccur␈αwhile␈αPOX␈αis␈αcompiling␈αa␈αtext␈αfile:␈α⊗(1)␈αE40␈α=␈αbugs␈αin
␈↓ ↓H␈βεl␈↓βthe␈αuser␈αfile␈αfrom␈αwhich␈αit␈αmight␈αbe␈αpossible␈αto␈αcontinue␈αif␈αthe␈αparser␈α
is␈α
correctly␈α
synchronized␈α
or␈α
if␈α
it
␈↓ ↓H␈βπ
␈↓βwill␈αre-synchronize␈αitself␈αsoon␈αenough␈αto␈αbe␈αable␈αto␈αdo␈αthe␈αrest␈αof␈αthe␈αfile␈αmostly␈αcorrectly.␈α⊗(2)␈αE40F
␈↓ ↓H␈βπ(␈↓β=␈α⊃"fatal"␈α⊃bugs␈α⊃in␈α⊃the␈α⊃user␈α⊃file␈α⊃from␈α⊃which␈α⊃continuation␈α⊃is␈α⊃not␈α⊃possible␈α⊂but␈α⊂context␈α⊂information␈α⊂is
␈↓ ↓H␈βπF␈↓βavailable␈αand␈αmight␈αbe␈αhelpful␈αto␈αthe␈αuser␈α(3)␈αERRF␈α=␈αerrors␈αcaused␈αby␈αthe␈αinput␈αfile␈αthat␈αhave␈αwiped
␈↓ ↓H␈βπd␈↓βout␈αall␈α
context␈α
information␈α
--␈α
This␈α
usually␈α
happens␈α
at␈α
the␈α
end␈α
of␈α
a␈α
file␈α
while␈α
inside␈α
the␈α
mode␈α
of␈α
building
␈↓ ↓H␈βλα␈↓βup␈αthe␈αbody␈αof␈αa␈αmacro␈αor␈αmacro-argument,␈αcaused␈αby␈αa␈αmissing␈αparenthesis␈αsomewhere.␈α∃(4)␈α
FATAL␈α
=
␈↓ ↓H␈βλ ␈↓βbugs␈αin␈αPOX␈αin␈αcode␈αthat␈αis␈αin␈αa␈αstate␈αof␈αdebugging␈αand␈αstill␈αhas␈αASCII␈αwarning␈αmessages␈αfor␈αdetected
␈↓ ↓H␈βλ>␈↓βerrors␈α∂(5)␈α∂INTERR␈α∂=␈α∂internal␈α∂errors␈α∂detected␈α∂in␈α∂POX␈α∂program,␈α∂in␈α∂code␈α∂that␈α∂shouldn't␈α∂have␈α∂anything
␈↓ ↓H␈βλ\␈↓βwrong␈α
with␈α
it,␈α
probably␈α
core␈α
clobberage␈α
rather␈α
than␈α
POX␈α
bugs.
␈↓ α_␈βλz␈↓βIn␈αE40␈αerrors␈αthe␈αerror␈αmessage␈αis␈αtyped␈αout,␈αthen␈αthe␈αcurrent␈αlevel␈αof␈αmacro␈αexpansion␈αor␈αfile
␈↓ ↓H␈β _␈↓βinput␈αis␈αtyped␈αout␈αin␈αabout␈αthe␈αsame␈αway␈αas␈αthe␈αSAIL␈αcompiler␈αannounces␈αcompilation␈αerrors,␈αthen␈αthe
␈↓ ↓H␈β 6␈↓βuser␈α
has␈α
the␈α
following␈α
options:
␈↓ α_␈β S␈↓β→␈↓#↓ ␈↓#Hit␈↓∂␈α⊂C␈↓β␈α⊂to␈α⊂close␈α⊂the␈α⊂main␈α⊂output␈α⊂(.XGP)␈α⊂file,␈α⊂patch␈α⊂in␈α⊂the␈α⊂list␈α⊂of␈α∂fonts␈α∂used␈α∂so-far,␈α∂and␈α∂exit
␈↓ ↓H␈β r␈↓βimmediately␈α
as␈α
if␈α
the␈α
input␈α
file␈α
had␈α
ended␈α
with␈α
no␈α
error;
␈↓ α_␈β
∂␈↓β→␈↓#↓ ␈↓#Hit␈↓∂␈α⊃P␈↓β␈α⊃to␈α⊃proceed␈α⊃with␈α⊃the␈α⊃program␈α⊃--␈α⊃when␈α⊂proceeding␈α⊂from␈α⊂illegal␈α⊂brick␈α⊂command␈α⊂while
␈↓ ↓H␈β
.␈↓βbinding␈αargument␈αto␈αmacro,␈αthe␈αtext␈αof␈αthe␈αillegal␈αcommand␈αis␈αpassed␈αunevaluated␈αto␈αthe␈αargument␈αjust
␈↓ ↓H␈β
L␈↓βas␈α
if␈α
it␈α
had␈α
been␈α
quoted;
␈↓ α_␈β
i␈↓β→␈↓#↓ ␈↓#Hit␈↓¬␈α∂<ctrl><meta>␈↓∂P␈↓β␈α∂to␈α∂clobber␈α∂the␈α∂error-call␈α∂to␈α∂a␈α∂NO-OP␈α∞and␈α∞proceed.␈α≤Thus␈α∞if␈α∞the␈α∞same␈α∞error
␈↓ ↓H␈βλ␈↓βhappens␈α
no␈α
message␈α
will␈α
be␈α
generated␈α
and␈α
it␈α
will␈α
proceed␈α
as␈α
if␈α
you␈α
had␈α
typed␈↓∂␈α
P␈↓β␈α
each␈α
time;
␈↓ α_␈β%␈↓β→␈↓#↓ ␈↓#Hit␈↓∂␈α
R␈↓β␈α
to␈α
remember␈α
the␈α
current␈α
location␈α
in␈α
the␈α
source␈α
file␈α
and␈α
proceed;
␈↓ α_␈βC␈↓β→␈↓#↓ ␈↓#Hit␈↓¬␈α
<ctrl><meta>␈↓∂R␈↓β␈α
to␈α
remember,␈α
clobber,␈α
and␈α
proceed;
␈↓ α_␈βa␈↓β→␈↓#↓ ␈↓#Hit␈↓∂␈α
Q␈↓β␈α
to␈α
perform␈α
skip-return␈α
instead␈α
of␈α
direct␈α
return␈α
as␈α
in␈α
the␈↓∂␈α
P␈↓β␈α
command.␈α~In␈α
places␈α
where
␈↓ ↓H␈β␈↓βthis␈αis␈αimplemented␈αit␈αcauses␈αthe␈αspecial␈αmode␈α(such␈αas␈αjustify)␈αto␈αbe␈αleft␈αimmediately␈αbefore␈αresuming
␈↓ ↓H␈β≡␈↓βprocessing␈α
of␈α
input;
␈↓ α_␈β;␈↓β→␈↓#↓ ␈↓#Hit␈↓¬␈α⊂<ctrl><meta>␈↓∂Q␈↓β␈α⊂to␈α⊂clobber␈α⊂the␈α⊂error␈α∂call␈α∂to␈α∂a␈α∂CAIA␈α∂(skip␈α∂always)␈α∂instruction,␈α∂then␈α∂perform
␈↓ ↓H␈βZ␈↓βskip-return.␈α≤This␈α∞command␈α∞is␈α∞provided␈α∞only␈α∞for␈α∞experienced␈α∞users␈α∞who␈α∞are␈α∞willing␈α∞to␈α∞take␈α∞the␈α∞risk
␈↓ ↓H␈βx␈↓βinherent␈α
in␈α
this␈α
command;
␈↓ α_␈β
∃␈↓β→␈↓#↓ ␈↓#Hit␈↓∂␈α∞T␈↓β␈α∞to␈α∞pop␈α∞up␈α∞one␈α∞macro␈α∞level␈α∞and␈α∞do␈α∞a␈α∞context␈α∞display␈α
there␈α
too␈α
[the␈α
pop-up␈α
is␈α
for␈α
the
␈↓ ↓H␈β
4␈↓βdisplayed␈αoutput␈αonly,␈αit␈αdoesn't␈α
change␈α
the␈α
point␈α
where␈α
the␈α
program␈α
would␈α
resume␈α
if␈α
P␈α
were␈α
hit␈α
later]
␈↓ ↓H␈β
R␈↓β--␈αIf␈αyou␈αhave␈αpopped␈αup␈αto␈αan␈αactual␈αinput␈α
(DSK)␈α
file,␈α
or␈α
were␈α
there␈α
already,␈α
you␈α
can't␈α
pop␈α
up␈α
further
␈↓ ↓H␈β
p␈↓βbecause␈α
implementating␈α
that␈α
capability␈α
in␈α
an␈α
obvious␈α
way␈α
WOULD␈α
clobber␈α
the␈α
context;
␈↓ α_␈β∞
␈↓β→␈↓#↓ ␈↓#Hit␈↓∂␈αE␈↓β␈αto␈αreturn␈αto␈αdisplay␈αeditor␈αat␈αthis␈αlocation␈αin␈αthe␈αinput␈αfile.␈α⊗The␈αonly␈αway␈αthat␈αcurrently
␈↓ ↓H␈β∞,␈↓βexists␈αfor␈αgetting␈αfrom␈αE␈αback␈αto␈αPOX␈αautomatically␈αwith␈αthe␈αcorrect␈αtop-level␈αfile,␈αis␈αto␈αhave␈αa␈αdo␈αfile
␈↓ ↓H␈β∞J␈↓βthat␈αsays:␈↓∂␈α_R␈αPOX↔←␈↓¬<FILE>␈↓∂↔␈↓β␈αand␈αto␈αtype␈αto␈αthe␈αsystem␈↓∂␈αDO␈↓¬␈α<DO␈αFILE␈αNAME><CR><LF>␈↓β␈αthe␈αfirst␈αtime␈αyou␈αrun
␈↓ ↓H␈β∞h␈↓βPOX,␈α
then␈α
afterward␈α
to␈α
use␈α
the␈α
<CTRL><META>␈↓∂X␈α
G␈↓¬<CR>␈↓β␈α
command␈α
in␈α
E;
␈↓ α_␈β∂¬␈↓β→␈↓#↓ ␈↓#Hit␈↓¬␈α
<ctrl><meta>␈↓∂E␈↓β␈α
to␈α
return␈α
to␈α
display␈α
editor␈α
at␈α
the␈α
location␈α
you␈α
had␈α
it␈α
remember␈α
earlier;
␈↓ α_␈β∂#␈↓β→␈↓#↓ ␈↓#Hit␈↓∂␈α⊂D␈↓β␈α⊂to␈α⊂go␈α⊂into␈α⊂debug␈α⊂mode␈α⊂(i.e.␈α⊂RAID).␈α⊂Hit␈α⊂<ctrl>P␈α⊂to␈α⊂return␈α⊂from␈α⊂RAID␈α⊂to␈α⊂the␈α⊂backtrace
␈↓ ∞␈↓α 25␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 26␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ↓H␈β↓H␈↓βpackage;
␈↓ α_␈β↓e␈↓β→␈↓#↓ ␈↓#Hit␈α<CALL>␈αto␈αdo␈αanything␈αelse,␈αlike␈α
to␈α
edit␈α
with␈α
SOS,␈α
or␈α
to␈α
give␈α
up␈α
entirely,␈α
or␈α
to␈α
"␈↓∂F␈α
DSK␈↓β"␈α
then
␈↓ ↓H␈βα∧␈↓βsee␈α
what␈α
POX␈α
outputted␈α
before␈α
the␈α
error␈α
occurrred.
␈↓ α_␈βα"␈↓βFrom␈α
E40F␈α
errors␈α
all␈α
the␈α
above␈α
are␈α
available␈α
except␈α
those␈α
which␈α
involve␈α
proceeding.
␈↓ α_␈βα@␈↓βIf␈α
you␈α
want␈αto␈αexamine␈αyour␈αoutput␈αfile␈αaccording␈αto␈αhow␈αthe␈αXGP␈αservice␈αparses␈αit,␈↓∂␈αR␈αXGPTYP␈↓β.
␈↓ ↓H␈βα↑␈↓βFor␈αinvestigating␈αnew␈αbugs␈αin␈αa␈αlarge␈αfile,␈αa␈α
useful␈α
technique␈α
is␈α
to␈α
run␈α
XGPTYP␈α
on␈α
both␈α
the␈α
output␈α
from
␈↓ ↓H␈βα|␈↓βa␈α∂backup␈α∂working␈α∂version␈α∂of␈α∂your␈α∂file␈α∂and␈α∂the␈α∂output␈α∂from␈α∂the␈α∞version␈α∞you␈α∞are␈α∞debugging,␈α∞then␈↓∂␈α∞R
␈↓ ↓H␈ββ~␈↓∂SRCCOM␈↓β␈α
and␈↓∂␈α
TTY:←␈↓β<OLD␈α
XGPTYP␈α
LISTING>␈↓∂,␈↓β<NEW␈α
XGPTYP␈α
LISTING>.
␈↓ α_␈ββ8␈↓βIf␈α
your␈α
file␈α
looks␈α
ok␈α
but␈α
you␈α
get␈α
the␈α
message␈↓∂␈α
XGPSER␈αMISSED␈αIT.␈↓β␈α_then␈αtry␈αappending␈αto␈αthe
␈↓ ↓H␈ββV␈↓βend␈α
of␈α
the␈↓∂␈αXSPOOL␈↓β␈αcommand␈αthe␈αswitch␈↓∂␈α/NTNODE=31␈↓β,␈αthen␈αif␈αit␈αstill␈αdoesn't␈αwork␈αdiscuss␈αit␈αwith␈αRWG
␈↓ ↓H␈ββt␈↓βor␈α
REG␈α
who␈α
are␈α
experts␈α
at␈α
this.
␈↓ β`␈β∧/␈↓Known Bugs in POX (Referred-to earlier in writeup)
␈↓ α_␈β∧R␈↓βBUG#1␈α
--␈α
[Fixed␈α
1975␈α
MAY/JUN]
␈↓ α_␈β¬∞␈↓βBUG#2␈α∂--␈α∂Font␈α∂FORN25␈α∂and␈α∂other␈α∂fonts␈α∞with␈α∞funny␈α∞width␈α∞characters␈α∞cause␈α∞a␈α∞fatal␈α∞error,␈α∞and
␈↓ ↓H␈β¬+␈↓βparameters␈α
5,6␈α
don't␈α
usually␈α
work␈α
correctly.␈α~[new␈α
bug␈α
since␈↓␈α
1␈↓∂5␈↓β␈α
and␈↓␈α
1␈↓∂6␈↓β␈α
were␈α
implemented,␈αthe␈αbad
␈↓ ↓H␈β¬J␈↓βcode␈α⊃has␈α⊃now␈α⊃been␈α⊂patched-around,␈α⊂so␈α⊂that␈α⊂normally␈α⊂no␈α⊂bug␈α⊂will␈α⊂occur␈α⊂but␈↓␈α⊂1␈↓∂5␈↓β␈α⊂and␈↓␈α⊂1␈↓∂6␈↓β␈α⊂will␈α⊂give
␈↓ ↓H␈β¬i␈↓βincorrect␈αdata,␈αbut␈αif␈αyou␈αuse␈αthe␈↓␈α1␈↓∂⊂'20;␈↓β␈αswitch␈αyou␈αtake␈αyour␈αchances␈α--␈αsomeday␈αthe␈αcode␈αwill␈αbe
␈↓ ↓H␈βε ␈↓βreally␈α⊃fixed.]␈α"--␈α⊃1976.JAN.03␈α⊃I␈α⊃haven't␈α⊃changed␈α⊃anything␈α⊃but␈α⊃the␈α⊃fatal␈α⊃error␈α⊃no␈α⊃longer␈α⊂happens,
␈↓ ↓H␈βε'␈↓βperhaps␈α
because␈α
FORN25␈α
has␈α
been␈α
changed␈α
recently.␈α∀The␈α
measurements␈α
are␈α
still␈α
wrong,␈α
however.
␈↓ α_␈βεc␈↓βBUG#3␈α--␈αAfter␈αsome␈α
errors␈α
that␈α
happen␈α
in␈α
justify␈α
mode,␈α
typing␈↓∂␈α
P␈↓β␈α
will␈α
hang␈α
in␈α
a␈α
loop␈α
in␈α
which␈α
an
␈↓ ↓H␈βπ↓␈↓βerroneous␈α
error␈α
is␈α
repeatedly␈α
hit␈α
--␈α
someday␈α
I␈α
might␈α
figure␈α
out␈α
what␈α
is␈α
happening␈α
here.
␈↓ α_␈βπ=␈↓βBUG#4␈α∞--␈α∞(In␈α∞justify␈α∞mode,␈α∞N␈α∞blank␈α∞lines␈α∞in␈α∞input␈α∞generate␈α∞2N-1␈α∞blank␈α∞lines␈α
in␈α
output.)␈α~Fixed
␈↓ ↓H␈βπ[␈↓β1975.DEC.31,␈α
please␈α
tell␈α
REM␈α
if␈α
you␈α
find␈α
a␈α
case␈α
where␈α
the␈α
bug␈α
still␈α
happens.
␈↓ ∧<␈βλ⊗␈↓NOTES (Referred-to earlier in writeup)
␈↓ ↓H␈βλ9␈↓β(NOTE␈α
1)␈α--␈αEverywhere,␈αexcept␈αat␈αthe␈αstart␈αof␈αthe␈αtop-level␈αfile,␈αPOX␈αreads␈αcharacters␈αin␈αthe␈αnormal
␈↓ ↓H␈βλW␈↓βsequence,␈α
and␈α
expects␈α
all␈α
syntax␈α
to␈α
be␈α
left-to-right␈αdecodeable.␈α_This␈αis␈αwhy,␈αfor␈αexample,␈αthe␈αstring
␈↓ ↓H␈βλt␈↓11␈↓∂!FOO;␈↓β,␈α
if␈α
seen␈α
in␈α
top-level␈αleft␈αcontext,␈αis␈αparsed␈αas␈α[quote␈αthe␈αescape␈αcharacter,␈αthen␈αoutput␈αthe
␈↓ ↓H␈β ∀␈↓βstring␈α
"␈↓∂!FOO␈↓β"],␈α
rather␈α
than␈α
as␈α
[expand␈α
the␈α
macro␈↓∂␈α
FOO␈↓β␈α
then␈α
execute␈α
the␈α
command␈α
that␈α
results␈α
from␈αa
␈↓ ↓H␈β 2␈↓βbrick␈α
character␈α
in␈α
front␈α
of␈α
it].
␈↓ α_␈β P␈↓βHowever,␈α
at␈α
the␈α
start␈α
of␈α
the␈α
first␈α
top-level␈α
input␈α
file␈α
a␈α
special␈αinitialization␈αparser␈αis␈αemployed
␈↓ ↓H␈β n␈↓βthat␈αpre-reads␈αthe␈αfirst␈αtwo␈αcharacters␈αthen␈αdecides␈αwhat␈αto␈αdo␈αregarding␈αsyntax.␈α⊗The␈αfollowing␈αtable
␈↓ ↓H␈β
␈↓βshows␈αthe␈αfirst␈αcharacters␈αand␈αwhat␈α
happens␈α
(here␈α
"∀"␈α
means␈α
any␈α
character␈α
not␈α
mentionned␈α
previously
␈↓ ↓H␈β
*␈↓βin␈α∀the␈α∀same␈α∀context,␈α∀"∀∀"␈α∀means␈α∀the␈α∀two␈α∀copies␈α∀of␈α∀some␈α∪character,␈α∪"∀∃"␈α∪means␈α∪two␈α∪different
␈↓ ↓H␈β
H␈↓βcharacters):
␈↓ α_␈β
f␈↓∂C␈↓β␈α
--␈α
assumes␈α
this␈α
is␈α
a␈α
TV/E␈αdirectory␈α--␈αskips␈αeverything␈αuntil␈αASCII␈α'014␈α(Form␈αFeed)␈αis␈αseen,
␈↓ ↓H␈β∧␈↓βthen␈α
prereads␈α
again␈α
using␈α
only␈α
the␈α
options␈α
below␈α
this␈α
one.
␈↓ α_␈β"␈↓∂∀|␈↓β␈α--␈αassumes␈αthis␈αis␈αa␈α"change␈αthe␈αescape␈αcharacter"␈αcommand␈α--␈αjumps␈αinto␈αthe␈αmiddle␈αof␈αthe
␈↓ ↓H␈β?␈↓1␈↓∂|␈↓¬<CH>␈↓β␈α
code␈α
--␈α
in␈α
my␈α
opinion,␈α
this␈α
is␈α
the␈α
preferred␈α
way␈α
to␈α
begin␈α
a␈α
POX␈α
file␈αand␈αall␈αnew␈αfiles␈αshould
␈↓ ↓H␈β←␈↓βbegin␈α∞this␈α∞way␈α∞--␈α∞for␈α∞example,␈α∞your␈α∞file␈α∞might␈α∞begin␈α∞with␈↓∂␈α
\|\\M0KBD25;\M1BDR30;\;␈↓β␈α
which␈α
would
␈↓ ↓H␈β|␈↓βdefine␈↓∂␈α\␈↓β␈αas␈αthe␈↓␈α1␈↓β␈αcharacter,␈α
change␈α
it␈α
to␈↓∂␈α
\␈↓β␈α
(i.e.␈α
no␈α
change),␈α
define␈α
two␈α
fonts,␈α
and␈α
suppress␈α
the␈↓¬␈α
<CR><LF>
␈↓ ↓H␈β≤␈↓βat␈α⊃the␈α⊃end␈α⊃of␈α⊃the␈α⊃line␈α⊂--␈α⊂Note␈α⊂that␈α⊂because␈α⊂most␈α⊂users␈α⊂of␈α⊂POX␈α⊂prefer␈α⊂to␈α⊂use␈α⊂"␈↓∂\␈↓β"␈α⊂as␈α⊂their␈α⊂brick
␈↓ ↓H␈β:␈↓βcharacter,␈αif␈αyou␈αplan␈αto␈αuse␈αsome␈αcharacter␈αother␈αthan␈α\␈αas␈αthe␈αbrick␈αcharacter␈αin␈αyour␈αfile,␈αand␈αyou
␈↓ ↓H␈βX␈↓βwant␈αyour␈αfile␈αto␈αbe␈αcallable␈α(with␈αminimum␈αhassle)␈αas␈αa␈αrequired␈αsource␈αfile␈αfrom␈αsome␈αother␈αfile,␈αyou
␈↓ ↓H␈βu␈↓βshould␈αprobably␈αbegin␈αyour␈αfile␈αwith␈↓∂␈α\|␈↓1␈↓β␈α(where␈↓␈α1␈↓β␈αdenotes␈α
your␈α
local␈α
brick␈α
character)␈α
and␈α
put␈↓␈α
1␈↓∂|\␈↓β␈α
at
␈↓ ↓H␈β
∀␈↓βthe␈α∂very␈α∂end␈α∂of␈α∂the␈α∞file.␈α≤--␈α∞Note␈α∞that␈α∞this␈α∞does␈α∞not␈α∞apply␈α∞to␈α∞libraries␈α∞of␈α∞macros,␈α∞in␈α∞which␈α∞the␈↓␈α∞1␈↓∂|
␈↓ ↓H␈β
4␈↓βcommand␈αis␈αcurrently␈αignored,␈αand␈αyou␈αshould␈αavoid␈αincluding␈αit␈α(thus␈αall␈αmacro␈αdefinitions␈αwill␈αuse␈αthe
␈↓ ↓H␈β
R␈↓βsame␈α
brick␈α
character␈α
throughout␈α
your␈α
file).
␈↓ α_␈β
p␈↓∂∀∀␈↓β␈α
--␈α
assume␈α
this␈α
is␈α
a␈αbare␈α(out-of-syntax)␈αoccurrance␈αof␈αthe␈αescape␈αcharacter␈αfor␈αpurpose␈αof
␈↓ ↓H␈β∞∞␈↓βdefining␈α
it␈α
the␈α
old␈α
way␈α
(1973␈α
MAR-APR),␈α
followed␈α
by␈α
the␈α
beginning␈α
of␈α
a␈α
POX␈αcommand␈α--␈αjumps␈αinto
␈↓ ↓H␈β∞+␈↓βthe␈α
middle␈α
of␈α
the␈α
escape␈α
code␈α
at␈α
the␈α
point␈α
just␈α
after␈α
the␈↓␈α
1␈↓β␈α
has␈α
been␈α
recognized.
␈↓ α_␈β∞J␈↓∂∀.␈↓β␈α⊂--␈α⊂assume␈α⊂this␈α⊂is␈α⊂an␈α⊂old-style␈↓␈α⊂1␈↓∂;␈↓β␈α⊂command␈α⊂(don't␈α∂rely␈α∂on␈α∂this,␈α∂it␈α∂is␈α∂incorrect)␈α∂--␈α∂ignore
␈↓ ↓H␈β∞j␈↓βthrough␈α
next␈α
<crlf>␈α
then␈α
jump␈α
into␈α
beginning␈α
of␈α
PASS-AS-IS␈α
loop.
␈↓ α_␈β∂λ␈↓∂∀;␈↓β␈α
--␈α
assume␈α
this␈α
is␈α
a␈α
skip-to-crlf␈α
command␈α
--␈α
does␈α
it␈α
(see␈α
above)
␈↓ α_␈β∂&␈↓∂∀∃␈↓β␈α--␈αassumes␈αthe␈αfirst␈αis␈αthe␈αescape␈αcharacter␈αand␈αthat␈αthe␈αuser␈αis␈αconfused␈αabout␈αwhat␈αto␈αdo
␈↓ ∞␈↓α 26␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 27␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ↓H␈β↓H␈↓βnext␈α
--␈α
jumps␈α
into␈α
the␈α
PASS-AS-IS␈αloop␈αjust␈αafter␈αa␈αcharacter␈αhas␈αbeen␈αread,␈αto␈αbe␈αable␈αto␈αact␈αupon
␈↓ ↓H␈β↓f␈↓βthe␈α
∃␈α
character␈α
--␈α
because␈α
∃␈α
is␈α
not␈αthe␈αbrick␈αcharacter,␈αan␈αerror␈αwill␈αbe␈αgenerated␈αbecause␈αPOX␈αwill
␈↓ ↓H␈βα∧␈↓βattempt␈α
to␈α
output␈α
the␈α
∃␈α
character␈α
but␈α
no␈α
font␈α
has␈α
yet␈α
been␈α
defined.
␈↓ ↓H␈βα?␈↓β(NOTE␈α
2)␈α
--␈α
THIS␈α
NOTE␈α
PURGED␈α
--␈α
SEE␈α
COMMANDS␈↓␈α
1␈↓∂`␈↓␈α
1␈↓β⊂␈↓␈α
1␈↓β⊃
␈↓ ↓H␈βα⎇␈↓β(NOTE␈α3)␈α--␈αOf␈αcourse,␈αsince␈αthe␈αexpansion␈αof␈αa␈αmacro␈αgenerates␈αa␈αnew␈αstring␈αof␈αtext␈αas␈αif␈α
it␈α
had␈α
been
␈↓ ↓H␈ββ≠␈↓βin␈αthe␈αinput␈αfile␈αoriginally,␈αsyntax␈αcan␈αbe␈αaltered␈αif␈αthe␈αbody␈αof␈αa␈αmacro␈αbegins␈αbut␈αdoes␈αnot␈αcomplete
␈↓ ↓H␈ββ8␈↓βsome␈α
escape␈αsequence.␈α_Thus␈αthe␈αdefinition␈↓␈α1␈↓∂∞FOO[␈↓1␈↓∂oBIGMESS{4]␈↓β␈αwill␈αset␈αit␈αup␈αso␈αthat␈↓␈α1␈↓∂!FOO;␈↓β␈αwill
␈↓ ↓H␈ββX␈↓βbegin␈α∂the␈α∂definition␈α∂of␈α∂an␈α∂atomic␈α∂text␈α∂overlay␈α∂but␈α∂not␈α∂finish␈α∂it,␈α∂until␈α∂some␈α∂time␈α∂later␈α∂in␈α∞the␈α∞file␈α∞an
␈↓ ↓H␈ββv␈↓βunmatched␈α
"␈↓∂}␈↓β"␈α
occurs.␈α∀This␈α
can␈α
be␈α
confusing,␈α
so␈α
watch␈α
your␈α
macros␈α
carefully.
␈↓ ↓H␈β∧2␈↓β(NOTE␈α4)␈α--␈αIn␈αnormal␈αmode,␈αletting␈αthe␈αsystem␈αdo␈α<LF>␈αitself␈αor␈α
simulating␈α
what␈α
it␈α
does,␈α
subscripts␈α
etc.
␈↓ ↓H␈β∧P␈↓βcause␈α∞irregular␈α∞spacing␈α∞of␈α∞lines␈α∞because␈α∞each␈α∞line␈α
takes␈α
up␈α
just␈α
as␈α
much␈α
space␈α
as␈α
it␈α
needs␈α
to␈α
avoid
␈↓ ↓H␈β∧n␈↓βoverlap.␈α≡If␈α∞the␈α∞system␈α∞is␈α∞doing␈α∞<LF>'s␈α∞all␈α∞by␈α∞itself␈α∞(the␈α∞only␈α∞mode␈α∞currently␈α∞implemented),␈α∞the␈α∞POX
␈↓ ↓H␈β¬␈↓βprogram␈αhasn't␈αthe␈αvagueest␈αidea␈αwhere␈αon␈αthe␈αpage␈αthe␈αcurrent␈αline␈αof␈αtext␈αwill␈αbe␈αlocated␈αwhen␈αthe
␈↓ ↓H␈β¬*␈↓βsystem␈αgets␈αaround␈αto␈αputting␈αthe␈αoutput␈αonto␈αthe␈α
XGP.␈α∀However,␈α
if␈α
POX␈α
is␈α
simulating␈α
what␈α
the␈α
system
␈↓ ↓H␈β¬H␈↓βwould␈α∞do,␈α∞then␈α∞POX␈α
is␈α
using␈α
register␈α
"␈↓∂;␈↓β"␈α
and␈α
a␈α
couple␈α
of␈α
internal␈α
locations␈α
to␈α
keep␈α
track␈α
of␈α
the␈α
last
␈↓ ↓H␈β¬f␈↓βscan-line␈α
used,␈α
etc.
␈↓ α_␈βε∧␈↓βIn␈α
pretty-spacing␈α
mode,␈α
the␈α
baselines␈α
of␈α
the␈αtext␈αlines␈αare␈αcaused␈αto␈αbe␈αevenly-spaced␈αeven␈αif
␈↓ ↓H␈βε"␈↓βoverlap␈α
occurs␈α
or␈α
font␈α
size␈α
varies.␈α~This␈α
is␈α
done␈α
by␈α
computing␈α
where␈α
the␈α
top␈α
scan␈α
line␈αshould␈αbe␈α(Y
␈↓ ↓H␈βε@␈↓βposition␈αof␈αbaseline␈αdesired,␈αminus␈αY␈αoffset␈αof␈αworst-case␈αsuperscript)␈αand␈αtelling␈α
the␈α
system␈α
to␈α
do␈α
the
␈↓ ↓H␈βε↑␈↓βline␈αthere␈α(BLETCH!␈αBLETCH!).␈α∀This␈α
mode␈α
is␈α
obtained␈α
by␈α
setting␈α
the␈α
ε␈α
parameter␈α
to␈α
correct␈α
line␈α
spacing,
␈↓ ↓H␈βε|␈↓βand␈α∀setting␈α∀the␈α∪λ␈α∪parameter␈α∪sufficiently␈α∪negative␈α∪to␈α∪allow␈α∪all␈α∪overlap␈α∪that␈α∪is␈α∪expected␈α∪without
␈↓ ↓H␈βπ~␈↓βspreading␈α
lines␈α
further␈α
apart.
␈↓ ↓H␈βπU␈↓β(NOTE␈α∞5)␈α∞--␈α∞If␈α∞the␈α∞font␈α∞file␈α∞is␈α∞already␈α∞compiled,␈α∞the␈↓␈α∞1␈↓∂M␈↓β␈α∞command␈α∞merely␈α∞maps␈α∞from␈α∞the␈α∞logical␈α∞font
␈↓ ↓H␈βπu␈↓βnumber␈α
you␈α
selected␈α
to␈α
the␈α
already-compiled␈α
system␈α
font␈α
number.␈α~If␈α
the␈α
font␈α
you␈αrequested␈αis␈αnew
␈↓ ↓H␈βλ∪␈↓βbut␈α
the␈α
logical␈α
font␈α
number␈α
is␈α
already␈α
in␈α
use,␈α
it␈α
finds␈α
a␈α
slot,␈α
loads␈α
the␈α
font,␈α
and␈α
maps␈α
the␈α
font␈α
number.
␈↓ ε(␈βλN␈↓TRIVIA
␈↓ ↓H␈βλq␈↓βPASACT␈α--␈αTell␈αuser,␈αat␈αPASACT+6␈αis␈αa␈αCAI␈α(NO-OP)␈αthat␈αis␈αexecuted␈αonly␈αwhen␈αPOX␈αtries␈αto␈αoutput␈αa
␈↓ ↓H␈β ∂␈↓βsemicolon␈αat␈αpassis-level.␈α⊗Patching␈αit␈αto␈α
a␈α
HALT␈α
or␈α
setting␈α
a␈α
breakpoint␈α
there␈α
is␈α
useful␈α
for␈α
debugging␈α
a
␈↓ ↓H␈β -␈↓βmysterous␈α
extra␈α
semicolon␈α
that␈α
you've␈α
created.␈α∀If␈α
that␈α
doesn't␈α
find␈α
it,␈α
try␈α
patching␈α
PUTCHR+1␈α
too.
␈↓ α_␈β i␈↓βAs␈α
long␈α
as␈α
there␈α
is␈α
room␈α
in␈α
your␈αmind,␈αI␈αmight␈αas␈αwell␈αmention␈αsome␈αmajor␈αdeficiencies␈αof␈αPOX.
␈↓ ↓H␈β
π␈↓βThere␈α⊃is␈α⊃no␈α⊃way␈α⊃to␈α⊃place␈α⊃overlays␈α⊃in␈α⊃justified␈α⊃or␈α⊃center/rightified␈α⊃text.␈α There␈α⊂is␈α⊂no␈α⊂way␈α⊂to␈α⊂do
␈↓ ↓H␈β
%␈↓βautomatic␈α
footnotes␈α
or␈α
indexes␈α
or␈α
cross-references.␈α∀Syntax␈α
is␈α
mostly␈α
strange.
␈↓ α_␈β
a␈↓βONE␈αFINAL␈αTOUCH␈αTO␈αTHIS␈αWRITEUP␈α--␈αThe␈αspirograph␈αnear␈αthe␈αbottom␈αof␈αthis␈α
page␈α
(or␈α
the␈α
next
␈↓ ↓H␈β
␈␈↓βif␈αthere␈αwasn't␈αroom␈αhere)␈αis␈αa␈αsimple␈αexample␈αof␈αhow␈αto␈αuse␈αrecursive␈α
macros␈α
to␈α
make␈α
program␈α
loops.
␈↓ ↓H␈β≤␈↓βIt␈α
also␈α
shows␈α
you␈α
the␈α
overshoot␈α
that␈α
happens␈α
with␈α
almost-horizonal␈α
vectors␈α
of␈α
the␈↓␈α
1␈↓∂v␈↓β␈α
type.
␈↓ ↓H␈βZ␈↓∂_; DRAW SPIROGRAPH STARTING AT (X,Y)/D (x,y)/d offset by (8,9)
␈∧↑π,␈gp ␈∧↑π,β?wα␈∧←π≡␈l('
␈∧←ε␈␈qd6π␈∧←ε␈∧e`β␈∧←π≡βipα␈∧dε←␈t␈E¬␈∧dε←εεPβ␈∧hπ8␈`V_∂␈∧hπ8β ⎇α␈∧kπF␈Q@⊂↔␈∧kπFα`↓∧α␈∧pεAπ@A∧␈∧pεA␈vuQ∧␈∧wπO␈&λ-␈∧wπOα8↓λα␈↓ ↓H␈βx␈↓∂_∞SPIRO⊂_←X_→a_←Y_→b_←x_/d_+y_→y_+Y_→Y_←y_/d_¬x_→x_+X_→X_; wheel #1 perturbs #0
␈∧{ε␈{m↓¬α␈∧}¬k␈|*↓∃α␈∧␈ε+α↓0␈∧␈ε+␈{-uβ␈∧␈ε≠␈{S⎇α␈∧␈π[α∩↓∞α␈∧¬|␈|∂↓α␈∧∧ε$ *3¬␈∧∧ε$␈x#Z∧␈∧ε¬↑␈|F↓~α␈∧πε7pUε8␈∧πε7␈{∀mβ␈∧εD6U≠␈∧εD␈zmeβ␈∧
π`↓p↓⊃α␈∧∃¬?␈|⎇↓%α␈↓ ↓H␈β⊗␈↓∂_←X_/D_+Y_→Y_←Y_/D_¬X_→X_; wheel #0
␈∧_πh↓N↓∃α␈∧≡ε>'ε␈∧≡ε␈y&`β␈∧ εX≠⊗
␈∧ εX␈z6Vβ␈∧)¬!␈⎇0↓/α␈∧1π;␈␈N↓∧α␈↓ ↓H␈β4␈↓∂_←X_+8_→A_←a_+8_→a_←Y_+9_→B_←b_+9_→b_vabAB=2;⊃_; and offset for XGP
␈∧4πX␈␈7↓∩α␈∧6πm↓∃↓↔α␈∧7π≠␈␈]tα␈∧:εd∪≤ ␈∧:¬w∞~≥π␈∧:εd␈z≤Jβ␈∧:¬w␈zλcβ␈∧?πr␈␈⊗↓∨α␈∧A¬ ␈⎇]↓5α␈∧Eε|␈␈]dα␈∧Oλ ␈}t↓+α␈↓ ↓H␈βR␈↓∂_;
␈∧Uλ∀␈}i↓0α␈∧Vεi∂∨π␈∧Vεi␈z$Aβ␈∧Vπig↓∃α␈∧Wε↑␈␈PUα␈∧Y¬j⊂E⊗λ␈∧Y¬j␈zTbβ␈∧↑∧v␈} ↓8α␈∧eλ_␈}Q↓2α␈∧oεE␈␈≡Iα␈∧oλ!␈}?↓7α␈↓ ↓H␈βp␈↓∂_∞SPIROS⊂_!SPIRO;_←I_-=1;_→I_?SPIROS;⊃_;
␈∧q¬B␈␈Neα␈∧t¬3␈␈Vlα␈∧t¬#␈␈Ytα␈∧uπ↑<↓⊂α␈∧vεg
L≡π␈∧vεg␈zY:β␈∧v¬`␈␈PUα␈∧y¬b⊃∞∩λ␈∧y¬b␈{∞↑β␈∧|¬∪␈␈lzα␈∧}∧k␈}2↓5α␈∧␈λ"␈})↓7α␈∧
¬α␈␈u↓↓α␈∧
∧¬y␈␈yEα␈∧
ε/␈}C>α␈∧
∧t↓¬α␈∧
λ'␈}↔↓:α␈↓ ↓H␈β
∞␈↓∂_;
␈∧
∪∧b→↓α␈∧
∀πM⊗↓πα␈∧
∃ε↑∞≡→π␈∧
∃ε↑␈{>6β␈∧
↔εU6α␈∧
_¬ck∪ε␈∧
_¬c␈{-Vβ␈∧
≥∧d␈}\↓1α␈∧
≡λ$␈⎇}↓8α␈∧
∧Y.↓∞α␈∧
)εu␈z⊗0β␈∧
+ε ␈⎇;7α␈∧
+π∪␈z}?β␈↓ ↓H␈β
,␈↓∂_←=800;_→8_←=1750;_→9_;
␈∧
,εV␈x⊂!∧␈∧
-∧FE↓∀α␈∧
-λ$␈⎇j↓8α␈∧
.π7␈␈x|α␈∧
0ε~αε)α␈∧
4εP⊃∞∩λ␈∧
4¬lπi↔∧␈∧
4εP␈|L6α␈∧
4¬l␈{-Jβ␈∧
5π.␈{"Lβ␈∧
8ε7␈q↔⊃π␈∧
:∧BZ↓∪α␈∧
;∧g␈␈↓(α␈∧
>¬v¬6≤β␈∧
>¬v␈{⊗Cβ␈∧
FπC␈{≤Wβ␈∧
Fπ≥␈␈`oα␈∧
Iε_␈α@␈↓ ↓H␈β
J␈↓∂_←=-44;_→X_←=26;_→Y_←=2;_→D_;
␈∧
Kε!∧B∨β␈∧
Kε→␈|∃3α␈∧
L¬|βo∨α␈∧
L¬|␈{ <β␈∧
Mλ→␈⎇:↓3α␈∧
Oε:'6π∪␈∧
Oε:␈⎇f:α␈∧
Qε
αC&α␈∧
Qε
␈zE4β␈∧
V¬8↔␈∧
Vε␈␈␈V`α␈∧
W∧o␈␈"↓≥α␈∧
X∧.↓↓∃α␈∧
Zε≤␈{Z5α␈∧
\ε∀↓>+α␈∧
\ε∀␈z,β␈∧
]ε#␈xo%∧␈∧
]ε#z2α␈∧
↑πQ␈zs↑β␈∧
←ε`␈TVε∃␈∧
←ε`␈␈aQα␈∧
`¬*∩@⊂ ␈∧
aε@␈t/⊗ε␈∧
aε@∂Aα␈∧
eε2␈w∪≤∧␈∧
eε2#:α␈∧
eε∨␈}VBα␈↓ ↓H␈β
h␈↓∂_←=-29;_→x_←=69;_→y_←=1;_→d_;
␈∧
h¬~∞↔⊗π␈∧
jε"λY↔∧␈∧
kε~␈{4β␈∧
kλπ␈⎇↓*α␈∧
n∧␈␈␈D↓∂α␈∧
v°
L→π␈∧
v∧"↓A↓∀α␈∧
wε"␈ze8β␈∧
wε␈␈*Mα␈∧
zπZ␈z:bβ␈∧
}¬⊗␈␈\↓α␈∧∞↓∧␈≡ε␈∧∞↓¬t␈␈MPα␈∧∞↓¬%␈␈↑xα␈∧∞α¬a␈␈XYα␈∧∞¬π`␈z,eβ␈∧∞¬¬C␈␈chα␈∧∞¬πo␈|X↓≡α␈↓ ↓H␈β∞ε␈↓∂_←=200;_→I_!SPIROS;_;
␈∧∞πε$␈z 9β␈∧∞λ¬R␈␈k←α␈∧∞λ¬2␈␈noα␈∧∞ ε~
∀ε␈∧∞∂ε/␈z*>β␈∧∞⊃∧w
λ≡ε␈∧∞⊗∧≥αβ↓∞α␈∧∞↔π[␈ytcβ␈∧∞≠πS␈| ↓⊂α␈∧∞∨∧i]!ε␈∧∞∨ε6␈zλBβ␈∧∞"εB␈z!Gβ␈∧∞&π\␈yOcβ␈∧∞'ε ∂≡∃π␈∧∞*π5␈{i↓↓α␈∧∞.∧f∞J∨π␈∧∞0ε[␈z=Tβ␈∧∞3∧"αK↓¬α␈∧∞5π⊗␈{&qβ␈∧∞6πU␈y⊂`β␈∧∞6εw␈znbβ␈∧∞A∧Z∂ π␈∧∞D¬s∂j_λ␈∧∞GπR␈xX↑∧␈∧∞M∧\∩$≤ ␈∧∞N∧+β'yα␈∧∞Q¬l⊂∀→λ␈∧∞VπG␈xεY∧␈∧∞[¬Z
V∨π␈∧∞c∧=∧∞kα␈∧∞eπ@␈w2U∧␈∧∞g¬N
⊗"ε␈∧∞m∧W→¬↔␈∧∞m¬=≤)¬␈∧∞t∧R¬⊗\β␈∧∞w¬.
7.¬␈∧∞y¬≥λ{6∧␈∧∞⎇∧nε<Lβ␈∧∞}¬
λ"<∧␈∧∂π'␈uLI¬␈∧∂
∧Z-6∞⊗␈∧∂∃π␈rm;ε␈∧∂#εl␈nε+ ␈∧∂$∧eαXα↓,␈∧∂+ε.␈H
≤␈∧∂+εL␈e≤
␈↓ ∞␈↓α 27␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 28␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ βs␈β↓H␈↓APPENDIX -- SUMMARY OF ALL POX COMMANDS
␈↓ ↓t␈β↓z␈↓IN THE APPROXIMATE CHRONOLOGICAL ORDER IN WHICH THEY WERE IMPLEMENTED
␈↓ ↓H␈βα≥␈↓∂page#
␈↓ ↓H␈βα;␈↓∂ ↓␈↓ αH[Original commands by R.E.Maas 1973]
␈↓ αH␈βαY␈↓∂;0␈↓ ∧HALL OTHERS, ILLEGAL
␈↓ ↓H␈βαw␈↓∂10␈↓ αH;1 |␈↓ ∧HSET NEW ESCAPE
␈↓ ↓H␈ββ∃␈↓∂ 3␈↓ αH;2 M␈↓ ∧HMAKE A NEW FONT
␈↓ ↓H␈ββ3␈↓∂ 4␈↓ αH;3 ;␈↓ ∧HIGNORE THRU LF ETC.
␈↓ ↓H␈ββQ␈↓∂ 4␈↓ αH;4 ,␈↓ ∧HIGNORE THRU FF
␈↓ ↓H␈ββo␈↓∂ 3␈↓ αH;5 F␈↓ ∧HFONT SELECT
␈↓ ↓H␈β∧
␈↓∂ 3␈↓ αH;6 f␈↓ ∧HFONT SELECT FOR ONE CHARACTER
␈↓ ↓H␈β∧+␈↓∂11␈↓ αH;7 S␈↓ ∧HSAMPLE
␈↓ ↓H␈β∧I␈↓∂ 4␈↓ αH;10 J␈↓ ∧HJUSTIFY
␈↓ ↓H␈β∧g␈↓∂ 8␈↓ αH;11 j␈↓ ∧HJUSTIFY
␈↓ ↓H␈⬬␈↓∂ 4␈↓ αH;12 C␈↓ ∧HCENTER
␈↓ ↓H␈β¬#␈↓∂ 8␈↓ αH;13 c␈↓ ∧HCENTER
␈↓ ↓H␈β¬A␈↓∂ 4␈↓ αH;14 R␈↓ ∧HRIGHTIFY
␈↓ ↓H␈β¬←␈↓∂ 8␈↓ αH;15 r␈↓ ∧HRIGHTIFY
␈↓ ↓H␈β¬⎇␈↓∂ 7␈↓ αH;16 ←+-*/\¬∧∨%L~_ Q-REGISTER ARITHMETIC
␈↓ ↓H␈βε≠␈↓∂ 7␈↓ αH;17 →␈↓ ∧HQ REGISTER DEPOSIT
␈↓ ↓H␈βε9␈↓∂ 7*␈↓ αH;62 ↑↓␈↓ ∧HQ-REGISTER SUB/SUP-SCRIPT [GENERATES ESCAPE SEQ. VIA XCT W]
␈↓ ↓H␈βεW␈↓∂ 8␈↓ αH;20 ∩∪⊗␈↓ ∧HMOVE BASELINE.
␈↓ αH␈βπ∪␈↓∂[Added by R.E.Gorin 1973-74]
␈↓ ↓H␈βπ1␈↓∂ 8␈↓ αH;21 U␈↓ ∧HUNDERSCORE
␈↓ ↓H␈βπO␈↓∂ 9␈↓ αH;22 P␈↓ ∧HPUSH
␈↓ ↓H␈βπm␈↓∂ 9␈↓ αH;23 p␈↓ ∧HPOP
␈↓ ↓H␈βλ␈↓∂ 9␈↓ αH;24 '␈↓ ∧HQUOTE WITH RUBOUT <<NOT RECCOMMENDED>>
␈↓ ↓H␈βλ)␈↓∂10␈↓ αH;25 λ␈↓ ∧HSET SPECIAL LINE SPACE FROM AC0
␈↓ ↓H␈βλG␈↓∂ 9␈↓ αH;26 V␈↓ ∧HVECTOR
␈↓ ↓H␈βλe␈↓∂11␈↓ αH;27 Y␈↓ ∧HSet Y position
␈↓ αH␈β !␈↓∂[Added by R.E.Maas 1974-75]
␈↓ ↓H␈β ?␈↓∂14,16␈↓ αH;30 ∞␈↓ ∧HDefine macro
␈↓ ↓H␈β ]␈↓∂14,16␈↓ αH;31 !␈↓ ∧HCall macro
␈↓ ↓H␈β {␈↓∂14,17␈↓ αH;32 ?␈↓ ∧HIf QREGAC>0 then call macro else scan but null semantics
␈↓ ↓H␈β
→␈↓∂14␈↓ αH;33 @␈↓ ∧HRequire source file, then return
␈↓ ↓H␈β
7␈↓∂14␈↓ αH;34 α␈↓ ∧HJump to file, don't return
␈↓ ↓H␈β
U␈↓∂10*␈↓ αH;26 v␈↓ ∧Hpretty vector
␈↓ ↓H␈β
s␈↓∂ 9␈↓ αH;35 Q␈↓ ∧HPUSH WITH ARG
␈↓ ↓H␈β⊃␈↓∂ 9␈↓ αH;36 q␈↓ ∧HPOP WITH ARG
␈↓ ↓H␈β/␈↓∂12␈↓ αH;37 o␈↓ ∧HDEFINE ATOMIC TEXT OVERLAY
␈↓ ↓H␈βM␈↓∂13␈↓ αH;40 O␈↓ ∧HOUTPUT OVERLAY
␈↓ ↓H␈βk␈↓∂13␈↓ αH;41 123456␈↓ ∧HLOAD QREGAC WITH PARAMETER FROM OVERLAY <<5,6 NOT WORKING>>
␈↓ ↓H␈β ␈↓∂23␈↓ αH;42 `␈↓ ∧H[TEMPORARY] SET UP VERSION FLAGS <<NOT RECCOMMENDED>>
␈↓ ↓H␈β'␈↓∂13␈↓ αH;43 &␈↓ ∧HCOMBINE SEVERAL OVERLAYS INTO ONE, WITH OFFSETS EACH
␈↓ ↓H␈βE␈↓∂13␈↓ αH;44 ∂␈↓ ∧HRENAME OVERLAY IN COMPLICATED WAY
␈↓ ↓H␈βc␈↓∂13␈↓ αH;45 :␈↓ ∧HCLOBBER SELECTED SIZE PARAMETER OF OVERLAY
␈↓ ↓H␈β
↓␈↓∂10␈↓ αH;46 ε␈↓ ∧HSET MINIMUM BASELINE SPACING, USED IN CONJUNCTION WITH λ
␈↓ ↓H␈β
∨␈↓∂ 4␈↓ αH;47 <SP><TB>␈↓ ∧HIGNORE SPACES UNTIL ; SEEN (FOR PRETTY SOURCE FILES)
␈↓ ↓H␈β
=␈↓∂ 4␈↓ αH;50 <VT>N␈↓ ∧HBREAK TO NEXT LINE HERE WITHOUT AFFECTING SYNTAX
␈↓ ↓H␈β
[␈↓∂11␈↓ αH;51 u␈↓ ∧HCALLI UUO
␈↓ ↓H␈β
y␈↓∂ 9␈↓ αH;52 "␈↓ ∧HQUOTE THE NEXT CHARACTER (WITHOUT RUBOUT UNLESS NEEDED)
␈↓ αH␈β∞↔␈↓∂;53 n␈↓ ∧HNO PAGE CHANGE NEXT TIME <<NOT SUPPORTED>>
␈↓ ↓H␈β∞5␈↓∂ 9␈↓ αH;54 A␈↓ ∧HCVT QREG TO CHARACTER (WITHOUT RUBOUT UNLESS NEEDED) AND OUTPUT
␈↓ ↓H␈β∞S␈↓∂23␈↓ αH;55 ⊂␈↓ ∧HTURN ON DEBUG FLAGS -- VLEVE←VLEVEL∨ARG
␈↓ ↓H␈β∞q␈↓∂23␈↓ αH;56 ⊃␈↓ ∧HTURN OFF DEBUG FLAGS -- VLEVEL←VLEVEL∧(¬ARG)
␈↓ ↓H␈β∂∂␈↓∂ 8␈↓ αH;57 {[␈↓ ∧HSTART UNDERLINE [WRITES ESCAPE SEQUENCE VIA XCT W]
␈↓ ↓H␈β∂-␈↓∂ 8␈↓ αH;60 }]␈↓ ∧HSTOP UNDERLINE [DITTO]
␈↓ ∞␈↓α 28␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ∞␈↓α 29␈↓ βq␈β↓α␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ ↓H␈β↓H␈↓∂ 9␈↓ αH;61 D␈↓ ∧HCONVERT DECIMAL TO STRING MACRO AND SPLICE NOW [INPDL]
␈↓ ↓H␈β↓f␈↓∂13*␈↓ αH;40 W␈↓ ∧HSAME AS O BUT FORCES ON SAME PAGE, DOES NOT AFFECT PAGE PRINTER
␈↓ ↓H␈βα∧␈↓∂15␈↓ αH;63 β␈↓ ∧HDO LOOKUP ON FILE, WARN IF MISSING, BUT DON'T READ IT
␈↓ ↓H␈βα"␈↓∂14*␈↓ αH;33 ∀␈↓ ∧HSCAN OF LIBRARY OF MACRO DEFINITIONS
␈↓ ↓H␈βα@␈↓∂ 9␈↓ αH;64 #␈↓ ∧HPUSH FONT# ON STACK
␈↓ ↓H␈βα↑␈↓∂ 9␈↓ αH;65 G␈↓ ∧HPOP FONT# FROM STACK AND SELECT
␈↓ ↓H␈βα|␈↓∂11␈↓ αH;66 y␈↓ ∧HFUDGE Y0 PARAMETERS TO ADJUST VERTICAL POS.
␈↓ ↓H␈ββ~␈↓∂11␈↓ αH;67 BbTt␈↓ ∧HSET AND READ BOTTOM MARGIN (TMAR+PMAR) OR TOP MARGIN
␈↓ ↓H␈ββ8␈↓∂22␈↓ αH;70 <=>␈↓ ∧HALTERNATE-OUTPUT-FILE, OPEN OUTPUT-TO CLOSE
␈↓ αH␈ββt␈↓∂[Not yet implemented -- 1975.Nov]
␈↓ αH␈β∧∩␈↓∂;N1 X␈↓ ∧H(RESERVED FOR EXTENDED-SCANNER TO BE IMPLEMENTED SOMEDAY)
␈↓ αH␈β∧0␈↓∂;N2 π␈↓ ∧H(RESERVED FOR ILLEGAL COMMAND TO ENTER DEBUG PACKAGE)
␈↓ β-␈β∧v␈↓INDEX TO POX COMMANDS IN ASCII-ALPHABETICAL ORDER
␈↓ αk␈β¬#␈↓NUMBER REFERS TO SUMMARY OF COMMANDS IN PREVIOUS TABLE
␈↓ α/␈β¬P␈↓AN ASTERISK HERE MEANS IT'S NOT LOCATED IN NUMERICAL ORDER THERE
␈↓ αH␈βεα␈↓∂xx0␈↓ βHxx1␈↓ ∧Hxx2␈↓ ¬Hxx3␈↓ εHxx4␈↓ πHxx5␈↓ λHxx6␈↓ Hxx7
␈↓ ↓H␈βε/␈↓∂00x␈↓ αHNUL 00␈↓ βH↓ 62*␈↓ ∧Hα 34␈↓ ¬Hβ 63␈↓ εH∧ 16␈↓ πH¬ 16␈↓ λHε 46␈↓ Hπ N2
␈↓ ↓H␈βε\␈↓∂01x␈↓ αHλ 25␈↓ βHTB 47␈↓ ∧HLF 00␈↓ ¬H 50␈↓ εHFF 00␈↓ πHCR 00␈↓ λH∞ 30␈↓ H∂ 44
␈↓ ↓H␈βπ ␈↓∂02x␈↓ αH⊂ 55␈↓ βH⊃ 56␈↓ ∧H∩ 20␈↓ ¬H∪ 20␈↓ εH∀ 33*␈↓ πH∃␈↓ λH⊗ 20␈↓ H↔
␈↓ ↓H␈βπ6␈↓∂03x␈↓ αH_ 16␈↓ βH→ 17␈↓ ∧H~ 16␈↓ ¬H≠␈↓ εH≤␈↓ πH≥␈↓ λH≡␈↓ H∨ 16
␈↓ ↓H␈βπc␈↓∂04x␈↓ αHSP 47␈↓ βH! 31␈↓ ∧H" 52␈↓ ¬H# 64␈↓ εH$␈↓ πH% 16␈↓ λH& 43␈↓ H' 24
␈↓ ↓H␈βλ⊂␈↓∂05x␈↓ αH( (?)␈↓ βH)␈↓ ∧H* 16␈↓ ¬H+ 16␈↓ εH, 04␈↓ πH- 16␈↓ λH. 03␈↓ H/ 16
␈↓ ↓H␈βλ=␈↓∂06x␈↓ αH0␈↓ βH1 41␈↓ ∧H2 41␈↓ ¬H3 41␈↓ εH4 41␈↓ πH5 (41)␈↓ λH6 (41)␈↓ H7 (?)
␈↓ ↓H␈βλj␈↓∂07x␈↓ αH8 30␈↓ βH9␈↓ ∧H: 45␈↓ ¬H; 03␈↓ εH< 70␈↓ πH= 70␈↓ λH> 70␈↓ H? 32
␈↓ ↓H␈β ↔␈↓∂10x␈↓ αH@ 33␈↓ βHA 54␈↓ ∧HB 67␈↓ ¬HC 12␈↓ εHD 61␈↓ πHE␈↓ λHF 05␈↓ HG 65
␈↓ ↓H␈β D␈↓∂11x␈↓ αHH␈↓ βHI␈↓ ∧HJ 10␈↓ ¬HK␈↓ εHL 16␈↓ πHM 02␈↓ λHN 50␈↓ HO 40
␈↓ ↓H␈β q␈↓∂12x␈↓ αHP 22␈↓ βHQ 35␈↓ ∧HR 14␈↓ ¬HS 07␈↓ εHT 67␈↓ πHU 21␈↓ λHV 26␈↓ HW 40*
␈↓ ↓H␈β
≡␈↓∂13x␈↓ αHX N1␈↓ βHY 27␈↓ ∧HZ␈↓ ¬H[ 57␈↓ εH\ 16␈↓ πH] 60␈↓ λH↑ 62*␈↓ H← 16
␈↓ ↓H␈β
K␈↓∂14x␈↓ αH` 42␈↓ βHa␈↓ ∧Hb 67␈↓ ¬Hc 13␈↓ εHd␈↓ πHe␈↓ λHf 06␈↓ Hg
␈↓ ↓H␈β
x␈↓∂15x␈↓ αHh␈↓ βHi␈↓ ∧Hj 11␈↓ ¬Hk␈↓ εHl␈↓ πHm␈↓ λHn 53␈↓ Ho 37
␈↓ ↓H␈β%␈↓∂16x␈↓ αHp 23␈↓ βHq 36␈↓ ∧Hr 15␈↓ ¬Hs␈↓ εHt 67␈↓ πHu 51␈↓ λHv 26*␈↓ Hw (26)
␈↓ ↓H␈βR␈↓∂17x␈↓ αHx␈↓ βHy 66␈↓ ∧Hz␈↓ ¬H{ 57␈↓ εH| 01␈↓ πHALT 00␈↓ λH} 60␈↓ HBS 00
␈↓ α_␈β,␈↓β(To␈αuse␈αthe␈αabove␈αtable␈αto␈αlocate␈αthe␈αcommand␈αcorresponding␈αto␈αa␈αparticular␈αcharacter,␈αlook␈αup
␈↓ ↓H␈βY␈↓βthe␈α∩character␈α∩according␈α∩to␈α∩ASCII␈α∩number,␈α∩use␈α∩the␈α∩numerical␈α∩entry␈α∩in␈α∩the␈α⊃table␈α⊃to␈α⊃reference␈α⊃the
␈↓ ↓H␈β
ε␈↓βpreceeding␈α
table,␈αand␈αread␈αthe␈αdescription␈αon␈αthat␈αtable.␈α_That␈αfirst␈αtable␈αnow␈αincludes␈αpage␈αnumbers
␈↓ ↓H␈β
3␈↓βfor␈αyour␈αconvenience␈αin␈αlocating␈αthe␈αfull␈αdescription␈αelsewhere␈αin␈αthis␈αwriteup.␈α⊗The␈αtable␈αof␈αcontents,
␈↓ ↓H␈β
`␈↓βhowever,␈α
will␈α
usually␈α
be␈α
more␈α
useful␈α
for␈α
locating␈α
general␈α
types␈α
of␈α
commands.)
␈↓ ∞␈↓α 29␈↓ βq␈β⊂ ␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page
␈↓ βf␈β↓H␈↓PROTOTYPE OVERLAY XEROGRAPHICS -- WRITEUP
␈↓ ε
␈β↓u␈↓CONTENTS
␈↓ ↓;␈βαT␈↓β(page numbers here correspond to headings/footings -- add one for XSPOOL command page numbers) ↓↓
␈↓ ↓H␈βα|␈↓Contents [this page, generated after p.29, bound before p.1]␈↓α␈↓ ]i
␈∧β≤↓H↓
≡␈∧β!↓H↓
≡␈↓ ↓H␈ββ)␈↓Introduction␈↓ G 1
␈↓ α(␈ββV␈↓Sample POX manuscript␈↓ G 2
␈↓ α(␈β∧β␈↓This writeup, organization, modes, notation␈↓ G 2
␈↓ α(␈β∧0␈↓BNF notation used in this writeup␈↓ G 3
␈∧∧P↓H↓
≡␈∧∧U↓H↓
≡␈↓ ↓H␈β∧]␈↓Basic commands␈↓ G 3
␈↓ α(␈β¬
␈↓Table of modes and commands␈↓ G 4
␈↓ α(␈β¬7␈↓Examples␈↓ G 5
␈↓ ↓H␈β¬d␈↓Linefeed simulator␈↓ G 6
␈∧ε∧↓H↓
≡␈∧ε ↓H↓
≡␈↓ ↓H␈βε⊃␈↓Registers and XY coordinates␈↓ G 6
␈↓ α(␈βε>␈↓Arguments to commands␈↓ G 6
␈↓ α(␈βεk␈↓Commands (most of the POX commands are in this section...)␈↓ G 7
␈↓ α(␈βπ_␈↓...Vectors...␈↓ G 9
␈↓ α(␈βπE␈↓...Interline spacing...␈↓ @10
␈↓ α(␈βπr␈↓Examples␈↓ @11
␈∧λ∩↓H↓
≡␈∧λ↔↓H↓
≡␈↓ ↓H␈βλ∨␈↓Overlays␈↓ @12
␈↓ α(␈βλL␈↓Examples␈↓ @14
␈∧λl↓H↓
≡␈∧λq↓H↓
≡␈↓ ↓H␈βλy␈↓Macros without arguments, require source files␈↓ @14
␈↓ α(␈β &␈↓Examples␈↓ @15
␈∧ F↓H↓
≡␈∧ K↓H↓
≡␈↓ ↓H␈β S␈↓Macros with arguments␈↓ @16
␈↓ α(␈β
␈↓Commands␈↓ @16
␈↓ α(␈β
-␈↓Detailed algorithm of evaluation␈↓ @17
␈↓ α(␈β
Z␈↓Examples␈↓ @19
␈↓ α(␈βπ␈↓Detailed examples of argument evaluation␈↓ @19
␈↓ α(␈β4␈↓Advanced examples (MONTH<N>, EVAL, RECURSE, DEFCONT, EVERYPAGE) ␈↓ @19
␈↓ ↓H␈βa␈↓Alternate output (text) files␈↓ @22
␈∧↓↓H↓
≡␈∧ε↓H↓
≡␈↓ ↓H␈β∞␈↓Special-feature bits␈↓ @23
␈↓ α(␈β;␈↓Batch 0␈↓ @23
␈↓ α(␈βh␈↓Batch 1␈↓ @24
␈↓ α(␈β
∃␈↓Examples␈↓ @24
␈∧
5↓H↓
≡␈∧
:↓H↓
≡␈↓ ↓H␈β
B␈↓Remarks on using the POX program␈↓ @25
␈↓ α(␈β
o␈↓Backtrace/Error package␈↓ @25
␈↓ α(␈β∞≤␈↓Known bugs in POX (by number)␈↓ @26
␈↓ α(␈β∞I␈↓Notes (by number)␈↓ @26
␈↓ α(␈β∞v␈↓Trivia␈↓ @27
␈∧∂⊗↓H↓
≡␈∧∂≠↓H↓
≡␈↓ ↓H␈β∂#␈↓Appendix␈↓ @28
␈↓ α(␈β∂P␈↓Chronological list of commands (with page references)␈↓ @28
␈↓ α(␈β∂⎇␈↓ASCII sequence table␈↓ @29
␈↓ _␈↓α i␈↓ β{␈β⊂9␈↓αPOX writeup, last edited 1976 NOV 2 22:05 -- page